Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008059/0.0008059, allocations: 96.78 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009456/0.0009456, allocations: 176.2 kB / 16.58 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.4 MB / 222.7 MB, free: 5.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3523/0.3523, allocations: 43.55 MB / 314.6 MB, free: 8.766 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005115/0.0005115, allocations: 12 kB / 384 MB, free: 7.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.124, allocations: 58.85 MB / 442.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.231/0.3551, allocations: 17.2 MB / 460.1 MB, free: 36.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009052/0.3642, allocations: 4.564 MB / 464.6 MB, free: 35.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003391/0.3676, allocations: 127.5 kB / 464.7 MB, free: 35.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003121/0.3708, allocations: 0.8817 MB / 465.6 MB, free: 35.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007471/0.3783, allocations: 1.984 MB / 467.6 MB, free: 35.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003037/0.3813, allocations: 0.9551 MB / 468.6 MB, free: 34.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01199/0.3933, allocations: 11.79 MB / 480.4 MB, free: 31.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03614/0.4295, allocations: 21.35 MB / 0.49 GB, free: 22.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009026/0.4386, allocations: 4.606 MB / 0.4944 GB, free: 20.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01186/0.4505, allocations: 5.293 MB / 0.4996 GB, free: 17.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003752/0.4543, allocations: 0.6864 MB / 0.5003 GB, free: 17.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006092/0.4604, allocations: 0.8691 MB / 0.5011 GB, free: 17.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004383/0.4648, allocations: 2.347 MB / 0.5034 GB, free: 16.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0059/0.4707, allocations: 2.362 MB / 0.5057 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01801/0.4887, allocations: 19.84 MB / 0.5251 GB, free: 12.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4888, allocations: 0 / 0.5251 GB, free: 12.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.4888, allocations: 0 / 0.5251 GB, free: 12.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007358/0.4895, allocations: 4 kB / 0.5251 GB, free: 12.73 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3365 * Number of variables: 3365 Notification: Performance of Generate backend data structure: time 0.03069/0.5202, allocations: 12.15 MB / 0.537 GB, free: 484 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.5203, allocations: 19.97 kB / 0.537 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005966/0.5262, allocations: 1.747 MB / 0.5387 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05985/0.5861, allocations: 12.48 MB / 0.5509 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01431/0.6005, allocations: 6.488 MB / 0.5572 GB, free: 11.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008526/0.6013, allocations: 0.9032 MB / 0.5581 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005075/0.6064, allocations: 1.195 MB / 0.5593 GB, free: 9.508 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04553/0.652, allocations: 18.96 MB / 0.5778 GB, free: 6.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006624/0.6527, allocations: 19.91 kB / 0.5778 GB, free: 6.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003925/0.6566, allocations: 0.4921 MB / 0.5783 GB, free: 5.988 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008717/0.6575, allocations: 0.6856 MB / 0.579 GB, free: 5.301 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04188/0.6994, allocations: 19.74 MB / 0.5982 GB, free: 1.539 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5235/1.223, allocations: 62.39 MB / 0.6592 GB, free: 88.99 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02331/1.246, allocations: 20.13 MB / 0.6788 GB, free: 78.27 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009602/1.256, allocations: 4.602 MB / 0.6833 GB, free: 76.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007793/1.257, allocations: 244 kB / 0.6835 GB, free: 76.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001025/1.257, allocations: 112.5 kB / 0.6837 GB, free: 76.47 MB / 494.1 MB Notification: Performance of pre-optimization done (n=674): time 9.778e-06/1.257, allocations: 1.406 kB / 0.6837 GB, free: 76.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=674): time 0.02164/1.279, allocations: 12.51 MB / 0.6959 GB, free: 71.79 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.495e-05/1.279, allocations: 126 kB / 0.696 GB, free: 71.71 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01244/1.291, allocations: 8.663 MB / 0.7044 GB, free: 68.87 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001256/1.292, allocations: 137 kB / 0.7046 GB, free: 68.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002915/1.295, allocations: 4.605 MB / 0.7091 GB, free: 65.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002679/1.298, allocations: 2.257 MB / 0.7113 GB, free: 63.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000516/1.299, allocations: 159.5 kB / 0.7114 GB, free: 63.38 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003825/1.299, allocations: 0.6407 MB / 0.7121 GB, free: 62.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005667/1.305, allocations: 4.165 MB / 0.7161 GB, free: 61.58 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007201/1.312, allocations: 7.208 MB / 0.7232 GB, free: 55.72 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007851/1.32, allocations: 5.721 MB / 0.7288 GB, free: 52.69 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.398e-05/1.32, allocations: 31 kB / 0.7288 GB, free: 52.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.02015/1.34, allocations: 12.35 MB / 0.7408 GB, free: 46.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/1.34, allocations: 50.03 kB / 0.7409 GB, free: 46.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001878/1.34, allocations: 102.3 kB / 0.741 GB, free: 46.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/1.341, allocations: 435.9 kB / 0.7414 GB, free: 46.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007734/1.349, allocations: 2.09 MB / 0.7434 GB, free: 44.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005531/1.355, allocations: 8.933 MB / 0.7522 GB, free: 34.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007923/1.363, allocations: 1.404 MB / 0.7535 GB, free: 33.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001827/1.365, allocations: 400 kB / 0.7539 GB, free: 32.93 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1022): * Single equations (assignments): 1016 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01182/1.376, allocations: 4.656 MB / 0.7585 GB, free: 28.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00229/1.379, allocations: 0.7098 MB / 0.7592 GB, free: 27.54 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01938/1.398, allocations: 11.05 MB / 0.77 GB, free: 16.38 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.841e-05/1.398, allocations: 75.98 kB / 0.77 GB, free: 16.31 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.314e-05/1.398, allocations: 4 kB / 0.77 GB, free: 16.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.049e-05/1.398, allocations: 31.88 kB / 0.7701 GB, free: 16.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4359/1.834, allocations: 159.1 MB / 0.9255 GB, free: 106.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001566/1.834, allocations: 88 kB / 0.9256 GB, free: 106.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005077/1.84, allocations: 1.567 MB / 0.9271 GB, free: 104.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000825/1.84, allocations: 400.8 kB / 0.9275 GB, free: 104.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006591/1.841, allocations: 251.8 kB / 0.9277 GB, free: 104.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004907/1.846, allocations: 8.808 MB / 0.9363 GB, free: 94.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.288e-05/1.846, allocations: 135.4 kB / 0.9364 GB, free: 94.57 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02006/1.866, allocations: 18.79 MB / 0.9548 GB, free: 74.05 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004635/1.871, allocations: 2.048 MB / 0.9568 GB, free: 72.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001446/1.872, allocations: 252.7 kB / 0.957 GB, free: 71.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004648/1.877, allocations: 0.5659 MB / 0.9576 GB, free: 71.22 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000799/1.878, allocations: 0.7384 MB / 0.9583 GB, free: 70.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004338/1.878, allocations: 312 kB / 0.9586 GB, free: 70.18 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00878/1.887, allocations: 6.066 MB / 0.9645 GB, free: 64.13 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.01e-07/1.887, allocations: 0 / 0.9645 GB, free: 64.13 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01123/1.898, allocations: 2.679 MB / 0.9672 GB, free: 61.44 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 397 * Number of states: 1 (currentSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (741): * Single equations (assignments): 735 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02055/1.919, allocations: 19.7 MB / 0.9864 GB, free: 39.59 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01319/1.932, allocations: 10.57 MB / 0.9967 GB, free: 28.94 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.535e-05/1.932, allocations: 12.94 kB / 0.9967 GB, free: 28.93 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00671/1.939, allocations: 5.497 MB / 1.002 GB, free: 23.37 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009214/1.948, allocations: 1.496 MB / 1.004 GB, free: 21.91 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3765/2.325, allocations: 88.95 MB / 1.09 GB, free: 123.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0112/2.336, allocations: 7.884 MB / 1.098 GB, free: 120.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.01017/2.346, allocations: 3.655 MB / 1.102 GB, free: 120.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006448/2.352, allocations: 4.228 MB / 1.106 GB, free: 117.2 MB / 0.545 GB Notification: Performance of SimCode: time 8.92e-07/2.352, allocations: 0 / 1.106 GB, free: 117.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.459/2.811, allocations: 187.2 MB / 1.289 GB, free: 139 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001611/2.812, allocations: 224.8 kB / 1.289 GB, free: 138.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.699/8.511, allocations: 3.938 kB / 1.289 GB, free: 138.7 MB / 0.545 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_SerialConnection.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat does not exist to compare? outputFormat=mat