Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.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) 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(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar",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.0009554/0.0009554, allocations: 95.73 kB / 16.95 MB, free: 6.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 185.4 kB / 17.84 MB, free: 6.133 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.701/1.701, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.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.0004752/0.0004754, allocations: 12 kB / 280.9 MB, free: 3.629 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1019, allocations: 47.57 MB / 328.4 MB, free: 3.984 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar): time 0.009204/0.1112, allocations: 8.65 MB / 337.1 MB, free: 11.3 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006913/0.1181, allocations: 2.551 MB / 339.6 MB, free: 8.734 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001738/0.1199, allocations: 67.81 kB / 339.7 MB, free: 8.668 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.1212, allocations: 429.3 kB / 340.1 MB, free: 8.246 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002758/0.124, allocations: 0.8633 MB / 341 MB, free: 7.379 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001708/0.1257, allocations: 0.647 MB / 341.6 MB, free: 6.73 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004613/0.1303, allocations: 3.948 MB / 345.6 MB, free: 2.766 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01503/0.1454, allocations: 9.32 MB / 354.9 MB, free: 9.363 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002887/0.1483, allocations: 1.705 MB / 356.6 MB, free: 7.652 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00302/0.1513, allocations: 1.965 MB / 358.6 MB, free: 5.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000505/0.1519, allocations: 280 kB / 358.9 MB, free: 5.406 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.1533, allocations: 491.7 kB / 359.3 MB, free: 4.926 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006735/0.1539, allocations: 0.7902 MB / 360.1 MB, free: 4.133 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001291/0.1552, allocations: 0.9097 MB / 361 MB, free: 3.215 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007535/0.1628, allocations: 7.628 MB / 368.7 MB, free: 11.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.1628, allocations: 0 / 368.7 MB, free: 11.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1628, allocations: 0 / 368.7 MB, free: 11.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002413/0.1631, allocations: 0 / 368.7 MB, free: 11.57 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1303 * Number of variables: 1303 Notification: Performance of Generate backend data structure: time 0.01181/0.1749, allocations: 4.583 MB / 373.2 MB, free: 6.918 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.175, allocations: 12.03 kB / 373.3 MB, free: 6.906 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002082/0.1771, allocations: 0.6948 MB / 374 MB, free: 6.203 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01292/0.19, allocations: 2.402 MB / 376.4 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005671/0.1957, allocations: 2.345 MB / 378.7 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005453/0.1963, allocations: 365.8 kB / 379.1 MB, free: 1.039 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002046/0.1983, allocations: 476 kB / 379.5 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2735/0.4719, allocations: 6.617 MB / 386.1 MB, free: 43.54 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.842e-05/0.4721, allocations: 4.438 kB / 386.1 MB, free: 43.54 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004328/0.4725, allocations: 198.7 kB / 386.3 MB, free: 43.39 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002952/0.4728, allocations: 228.7 kB / 386.6 MB, free: 43.37 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01297/0.4858, allocations: 6.105 MB / 392.7 MB, free: 41.19 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04154/0.5274, allocations: 22.7 MB / 415.4 MB, free: 22.85 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009727/0.5372, allocations: 10.8 MB / 426.2 MB, free: 10.36 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001609/0.5389, allocations: 0.8676 MB / 427 MB, free: 9.492 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005861/0.5447, allocations: 3.497 MB / 430.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.5448, allocations: 34.56 kB / 430.6 MB, free: 5.637 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 3.256e-06/0.5448, allocations: 0 / 430.6 MB, free: 5.637 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0007456/0.5456, allocations: 337.5 kB / 430.9 MB, free: 5.301 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.5456, allocations: 51.41 kB / 430.9 MB, free: 5.238 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003443/0.549, allocations: 2.125 MB / 433.1 MB, free: 3.105 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.5491, allocations: 29.7 kB / 433.1 MB, free: 3.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001391/0.5505, allocations: 2.38 MB / 435.5 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.793e-05/0.5506, allocations: 91.34 kB / 435.6 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.5507, allocations: 52 kB / 435.6 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000233/0.551, allocations: 455.7 kB / 436.1 MB, free: 88 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001866/0.5528, allocations: 0.8401 MB / 436.9 MB, free: 15.24 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00344/0.5563, allocations: 2.261 MB / 439.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002712/0.559, allocations: 1.403 MB / 440.6 MB, free: 10.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.251e-05/0.559, allocations: 16 kB / 440.6 MB, free: 10.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=314) (initialization): time 0.005961/0.565, allocations: 3.076 MB / 443.7 MB, free: 7.777 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.272e-05/0.5651, allocations: 32.94 kB / 443.7 MB, free: 7.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.566e-05/0.5652, allocations: 48 kB / 443.7 MB, free: 7.699 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.615e-05/0.5653, allocations: 80 kB / 443.8 MB, free: 7.621 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/0.5669, allocations: 0.5693 MB / 444.4 MB, free: 7.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-05/0.567, allocations: 95.59 kB / 444.5 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/0.5689, allocations: 404.2 kB / 444.9 MB, free: 6.559 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000186/0.5691, allocations: 148 kB / 445 MB, free: 6.414 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 229 * 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 (310): * Single equations (assignments): 306 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003062/0.5722, allocations: 1.73 MB / 446.8 MB, free: 4.672 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000251/0.5725, allocations: 138.2 kB / 446.9 MB, free: 4.535 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006048/0.5731, allocations: 314.6 kB / 447.2 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002064/0.5733, allocations: 161.6 kB / 447.4 MB, free: 4.059 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.5733, allocations: 4.188 kB / 447.4 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5733, allocations: 0 / 447.4 MB, free: 4.055 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00555/0.5789, allocations: 3.159 MB / 450.5 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/0.5789, allocations: 0 / 450.5 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.933e-05/0.579, allocations: 11.98 kB / 450.5 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-05/0.579, allocations: 4 kB / 450.5 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.5791, allocations: 0 / 450.5 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.5791, allocations: 0 / 450.5 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.5791, allocations: 7.938 kB / 450.5 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000709/0.5798, allocations: 497 kB / 451 MB, free: 324 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004427/0.5803, allocations: 255.2 kB / 451.3 MB, free: 48 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.5804, allocations: 4 kB / 451.3 MB, free: 44 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004162/0.5808, allocations: 27.95 kB / 451.3 MB, free: 16 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.5808, allocations: 11.92 kB / 451.3 MB, free: 4 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.5809, allocations: 4.625 kB / 451.3 MB, free: 0 / 334.1 MB Notification: Performance of sorting global known variables: time 0.001965/0.5828, allocations: 1.384 MB / 452.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5829, allocations: 0 / 452.7 MB, free: 14.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003169/0.586, allocations: 0.985 MB / 453.7 MB, free: 13.63 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.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 (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00115/0.5872, allocations: 1.075 MB / 454.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002579/0.5898, allocations: 1.541 MB / 456.3 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5898, allocations: 0 / 456.3 MB, free: 11 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.5899, allocations: 75.97 kB / 456.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.5914, allocations: 323 kB / 456.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03606/0.6275, allocations: 15.55 MB / 472.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004239/0.6318, allocations: 3.144 MB / 475.4 MB, free: 6.941 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.002979/0.6348, allocations: 0.7906 MB / 476.2 MB, free: 6.145 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002625/0.6374, allocations: 1.308 MB / 477.5 MB, free: 4.836 MB / 366.1 MB Notification: Performance of SimCode: time 1.933e-06/0.6375, allocations: 4 kB / 477.5 MB, free: 4.832 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09658/0.734, allocations: 41.34 MB / 0.5067 GB, free: 11.43 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.7343, allocations: 219.1 kB / 0.5069 GB, free: 11.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.825/3.559, allocations: 0 / 0.5069 GB, free: 11.18 MB / 414.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_BalancingStar.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar_res.mat does not exist to compare? outputFormat=mat