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.001229/0.001229, allocations: 104.8 kB / 16.45 MB, free: 6.438 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.0013/0.0013, allocations: 189.6 kB / 17.39 MB, free: 5.668 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.297/1.297, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04776/0.04776, allocations: 8.107 MB / 299.3 MB, free: 6.602 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.91 kB / 414 MB, free: 22.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1029, allocations: 51.52 MB / 465.5 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.004777/0.1077, allocations: 3.712 MB / 469.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002956/0.1107, allocations: 1.826 MB / 471 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000515/0.1112, allocations: 12 kB / 471.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006868/0.112, allocations: 222.6 kB / 471.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001125/0.1131, allocations: 337.8 kB / 471.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002451/0.1156, allocations: 1.295 MB / 472.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001135/0.1167, allocations: 0.6998 MB / 473.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004289/0.1172, allocations: 257.5 kB / 473.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004736/0.1177, allocations: 298.8 kB / 474.1 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005575/0.1182, allocations: 366.5 kB / 474.5 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.492e-05/0.1183, allocations: 56 kB / 474.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000546/0.1189, allocations: 299.7 kB / 474.8 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.119, allocations: 147.4 kB / 475 MB, free: 8.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003042/0.1193, allocations: 346.2 kB / 475.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009366/0.1203, allocations: 0.877 MB / 476.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1203, allocations: 0 / 476.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1203, allocations: 0 / 476.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.415e-06/0.1203, allocations: 0 / 476.2 MB, free: 7.773 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.006914/0.1272, allocations: 1.911 MB / 478.1 MB, free: 5.805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.1273, allocations: 15.89 kB / 478.1 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001185/0.1274, allocations: 90.7 kB / 478.2 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.1276, allocations: 76.09 kB / 478.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006341/0.1282, allocations: 445.9 kB / 478.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.822e-05/0.1283, allocations: 45.38 kB / 478.8 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.801e-05/0.1284, allocations: 60.36 kB / 478.8 MB, free: 5.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.1295, allocations: 0.7572 MB / 479.6 MB, free: 4.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.1296, allocations: 3.938 kB / 479.6 MB, free: 4.266 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.124e-05/0.1296, allocations: 20 kB / 479.6 MB, free: 4.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.1297, allocations: 12 kB / 479.6 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.1307, allocations: 0.6872 MB / 480.3 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003855/0.1346, allocations: 2.938 MB / 483.3 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.1362, allocations: 1.306 MB / 484.6 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006195/0.1368, allocations: 474.7 kB / 485 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.229e-05/0.1369, allocations: 28.53 kB / 485 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.1369, allocations: 43.22 kB / 485.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.164e-06/0.137, allocations: 3.938 kB / 485.1 MB, free: 14.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.01326/0.1502, allocations: 3.452 MB / 488.5 MB, free: 10.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.808e-05/0.1503, allocations: 111.5 kB / 488.7 MB, free: 10.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004613/0.1508, allocations: 377.5 kB / 489 MB, free: 10.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.659e-05/0.1509, allocations: 53.7 kB / 489.1 MB, free: 10.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.151, allocations: 221.1 kB / 489.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.1512, allocations: 252.3 kB / 489.5 MB, free: 9.836 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002611/0.1515, allocations: 154.6 kB / 489.7 MB, free: 9.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1517, allocations: 362.7 kB / 490 MB, free: 9.316 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006497/0.1523, allocations: 445.9 kB / 490.5 MB, free: 8.879 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007134/0.153, allocations: 0.5092 MB / 491 MB, free: 8.363 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001486/0.1545, allocations: 0.9901 MB / 492 MB, free: 7.371 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.1546, allocations: 0 / 492 MB, free: 7.371 MB / 366.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005073/0.1596, allocations: 1.972 MB / 494 MB, free: 5.391 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.1597, allocations: 10.34 kB / 494 MB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.1597, allocations: 0 / 494 MB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005572/0.1653, allocations: 1.519 MB / 495.5 MB, free: 3.859 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004885/0.1658, allocations: 131.9 kB / 495.6 MB, free: 3.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01159/0.1774, allocations: 5.958 MB / 0.4898 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006296/0.178, allocations: 79.34 kB / 0.4899 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.171e-05/0.1781, allocations: 31.98 kB / 0.4899 GB, free: 13.53 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.0004148/0.1785, allocations: 189.7 kB / 0.4901 GB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.1787, allocations: 59.28 kB / 0.4902 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005372/0.1841, allocations: 1.912 MB / 0.492 GB, free: 11.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.1841, allocations: 8 kB / 0.492 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.1841, allocations: 4 kB / 0.492 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.1841, allocations: 3.984 kB / 0.492 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006365/0.1905, allocations: 2.764 MB / 0.4947 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.1905, allocations: 4 kB / 0.4947 GB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000321/0.1908, allocations: 95.83 kB / 0.4948 GB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005321/0.1962, allocations: 1.281 MB / 0.4961 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-05/0.1962, allocations: 16 kB / 0.4961 GB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01058/0.2068, allocations: 5.873 MB / 0.5018 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2069, allocations: 0 / 0.5018 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2563/0.4632, allocations: 1.895 MB / 0.5037 GB, free: 44.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003106/0.4635, allocations: 141.8 kB / 0.5038 GB, free: 44.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/0.4637, allocations: 15.55 kB / 0.5038 GB, free: 44.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006192/0.4643, allocations: 43.16 kB / 0.5039 GB, free: 44.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003476/0.4647, allocations: 72.45 kB / 0.5039 GB, free: 44.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.417e-05/0.4648, allocations: 24.69 kB / 0.504 GB, free: 44.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004583/0.4652, allocations: 260.8 kB / 0.5042 GB, free: 44.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4652, allocations: 0.9062 kB / 0.5042 GB, free: 44.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001265/0.4665, allocations: 291.6 kB / 0.5045 GB, free: 44.71 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.005368/0.4719, allocations: 2.475 MB / 0.5069 GB, free: 43.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003911/0.4758, allocations: 1.648 MB / 0.5085 GB, free: 43.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.4759, allocations: 3.859 kB / 0.5085 GB, free: 43.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002735/0.4786, allocations: 1.085 MB / 0.5096 GB, free: 43.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005595/0.4792, allocations: 77.56 kB / 0.5097 GB, free: 43.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/0.4941, allocations: 7.644 MB / 0.5171 GB, free: 39.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.4945, allocations: 0.8924 MB / 0.518 GB, free: 39.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002775/0.4948, allocations: 79.97 kB / 0.5181 GB, free: 39.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/0.4951, allocations: 213.6 kB / 0.5183 GB, free: 38.88 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4951, allocations: 0 / 0.5183 GB, free: 38.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03908/0.5342, allocations: 24.13 MB / 0.5418 GB, free: 21.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.84, allocations: 7.938 kB / 0.5419 GB, free: 21.19 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)