Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses",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.001305/0.001305, allocations: 108 kB / 16.45 MB, free: 6.449 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.001234/0.001234, allocations: 186.4 kB / 17.38 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05167/0.05167, allocations: 8.1 MB / 299.3 MB, free: 6.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 63.89 kB / 414 MB, free: 22.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08963/0.0915, allocations: 51.52 MB / 465.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.00511/0.09665, allocations: 3.723 MB / 469.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00296/0.09965, allocations: 1.824 MB / 471.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002385/0.09992, allocations: 12 kB / 471.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005193/0.1004, allocations: 214.6 kB / 471.3 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007247/0.1012, allocations: 333.8 kB / 471.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002436/0.1037, allocations: 1.299 MB / 472.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009091/0.1046, allocations: 0.7037 MB / 473.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003662/0.105, allocations: 257.5 kB / 473.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002996/0.1053, allocations: 294.9 kB / 474.1 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004588/0.1058, allocations: 366.4 kB / 474.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.1059, allocations: 60 kB / 474.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005949/0.1065, allocations: 303.7 kB / 474.9 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.1066, allocations: 143.4 kB / 475 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003529/0.107, allocations: 346.2 kB / 475.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.1081, allocations: 0.8716 MB / 476.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.1081, allocations: 4 kB / 476.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1081, allocations: 0 / 476.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.1081, allocations: 0 / 476.2 MB, free: 7.918 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.007474/0.1156, allocations: 1.933 MB / 478.1 MB, free: 5.926 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.1157, allocations: 11.89 kB / 478.2 MB, free: 5.914 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001316/0.1158, allocations: 94.7 kB / 478.2 MB, free: 5.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.116, allocations: 76.47 kB / 478.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000651/0.1166, allocations: 450.2 kB / 478.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.43e-05/0.1167, allocations: 37.38 kB / 478.8 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.341e-05/0.1168, allocations: 64.38 kB / 478.9 MB, free: 5.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.1181, allocations: 0.7571 MB / 479.6 MB, free: 4.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.1181, allocations: 7.938 kB / 479.6 MB, free: 4.383 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.085e-05/0.1182, allocations: 23.98 kB / 479.7 MB, free: 4.359 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.1182, allocations: 12 kB / 479.7 MB, free: 4.348 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.1194, allocations: 0.6833 MB / 480.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004421/0.1239, allocations: 2.946 MB / 483.3 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.1256, allocations: 1.31 MB / 484.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006928/0.1263, allocations: 470.7 kB / 485.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.805e-05/0.1264, allocations: 20.62 kB / 485.1 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.445e-05/0.1265, allocations: 47.22 kB / 485.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.805e-06/0.1265, allocations: 7.938 kB / 485.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.01405/0.1405, allocations: 3.444 MB / 488.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.649e-05/0.1406, allocations: 111.5 kB / 488.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005416/0.1412, allocations: 393.4 kB / 489.1 MB, free: 10.47 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001169/0.1413, allocations: 41.7 kB / 489.1 MB, free: 10.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.1415, allocations: 229.5 kB / 489.3 MB, free: 10.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002383/0.1418, allocations: 261.7 kB / 489.6 MB, free: 9.934 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002849/0.1421, allocations: 154.6 kB / 489.7 MB, free: 9.777 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.1422, allocations: 366.7 kB / 490.1 MB, free: 9.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007096/0.143, allocations: 445.8 kB / 490.5 MB, free: 8.973 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007833/0.1438, allocations: 0.5092 MB / 491 MB, free: 8.457 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.1453, allocations: 0.9822 MB / 492 MB, free: 7.473 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.1453, allocations: 0 / 492 MB, free: 7.473 MB / 366.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005507/0.1508, allocations: 1.984 MB / 494 MB, free: 5.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.1509, allocations: 4 kB / 494 MB, free: 5.477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.1509, allocations: 4 kB / 494 MB, free: 5.473 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00592/0.1568, allocations: 1.519 MB / 495.5 MB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000604/0.1575, allocations: 127.8 kB / 495.7 MB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01204/0.1695, allocations: 5.981 MB / 0.4899 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006636/0.1702, allocations: 83.53 kB / 0.49 GB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-05/0.1703, allocations: 20 kB / 0.49 GB, free: 13.61 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(16,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003098/0.1706, allocations: 197.7 kB / 0.4902 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.1708, allocations: 63.59 kB / 0.4902 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00555/0.1763, allocations: 1.912 MB / 0.4921 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.1764, allocations: 8 kB / 0.4921 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.1764, allocations: 0 / 0.4921 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.1764, allocations: 7.969 kB / 0.4921 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006404/0.1828, allocations: 2.757 MB / 0.4948 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.1828, allocations: 4 kB / 0.4948 GB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000334/0.1832, allocations: 91.83 kB / 0.4949 GB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005591/0.1888, allocations: 1.293 MB / 0.4962 GB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.64e-05/0.1889, allocations: 12 kB / 0.4962 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0116/0.2005, allocations: 5.89 MB / 0.5019 GB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.2005, allocations: 3.938 kB / 0.5019 GB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1743/0.3748, allocations: 1.901 MB / 0.5038 GB, free: 45.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.375, allocations: 139.8 kB / 0.5039 GB, free: 44.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.3751, allocations: 17 kB / 0.5039 GB, free: 44.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005741/0.3757, allocations: 40.14 kB / 0.504 GB, free: 44.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002493/0.376, allocations: 66.64 kB / 0.504 GB, free: 44.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.715e-05/0.376, allocations: 26.23 kB / 0.5041 GB, free: 44.97 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003361/0.3764, allocations: 264.7 kB / 0.5043 GB, free: 44.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3764, allocations: 0 / 0.5043 GB, free: 44.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008511/0.3773, allocations: 298.8 kB / 0.5046 GB, free: 44.9 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(16,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005445/0.3827, allocations: 2.47 MB / 0.507 GB, free: 44.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003846/0.3866, allocations: 1.647 MB / 0.5086 GB, free: 43.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.3866, allocations: 5.297 kB / 0.5086 GB, free: 43.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002803/0.3894, allocations: 1.093 MB / 0.5097 GB, free: 43.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005577/0.39, allocations: 73.34 kB / 0.5098 GB, free: 43.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0153/0.4053, allocations: 7.661 MB / 0.5172 GB, free: 39.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.4057, allocations: 0.8895 MB / 0.5181 GB, free: 39.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003022/0.406, allocations: 83.39 kB / 0.5182 GB, free: 39.15 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002688/0.4063, allocations: 218.9 kB / 0.5184 GB, free: 38.99 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4063, allocations: 0 / 0.5184 GB, free: 38.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0475/0.4538, allocations: 23.26 MB / 0.5411 GB, free: 22.28 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13.05, allocations: 4.062 kB / 0.5411 GB, free: 22.28 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe 2>&1)