Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.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.MVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork",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.001418/0.001418, allocations: 104.7 kB / 16.45 MB, free: 6.445 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.001479/0.001479, allocations: 188.9 kB / 17.39 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.463/1.463, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05367/0.05367, allocations: 8.108 MB / 299.3 MB, free: 6.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 67.89 kB / 414 MB, free: 22.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09561/0.09743, allocations: 51.51 MB / 465.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.004306/0.1018, allocations: 3.347 MB / 468.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002682/0.1045, allocations: 1.863 MB / 470.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.1046, allocations: 8 kB / 470.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004299/0.1051, allocations: 202.7 kB / 470.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006307/0.1057, allocations: 325.9 kB / 471.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002346/0.1081, allocations: 1.288 MB / 472.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008524/0.1089, allocations: 0.657 MB / 473.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003323/0.1093, allocations: 230.9 kB / 473.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002735/0.1096, allocations: 274.9 kB / 473.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004281/0.11, allocations: 346.6 kB / 474 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.889e-05/0.1101, allocations: 52 kB / 474.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005124/0.1106, allocations: 291.7 kB / 474.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.1107, allocations: 127.5 kB / 474.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003093/0.1111, allocations: 326.3 kB / 474.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009489/0.112, allocations: 0.8172 MB / 475.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.112, allocations: 0 / 475.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.112, allocations: 0 / 475.6 MB, free: 8.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.699e-05/0.1121, allocations: 0 / 475.6 MB, free: 8.52 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.007108/0.1192, allocations: 1.894 MB / 477.5 MB, free: 6.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1192, allocations: 15.88 kB / 477.5 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001134/0.1194, allocations: 86.66 kB / 477.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.1195, allocations: 68.56 kB / 477.7 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005935/0.1201, allocations: 430.3 kB / 478.1 MB, free: 5.934 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.725e-05/0.1201, allocations: 41.38 kB / 478.1 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.784e-05/0.1202, allocations: 60.31 kB / 478.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.1214, allocations: 0.7142 MB / 478.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.1214, allocations: 3.938 kB / 478.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.095e-05/0.1215, allocations: 16 kB / 478.9 MB, free: 5.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.1215, allocations: 12 kB / 478.9 MB, free: 5.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.1226, allocations: 0.6599 MB / 479.6 MB, free: 4.414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003947/0.1265, allocations: 2.845 MB / 482.4 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/0.1281, allocations: 1.09 MB / 483.5 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000723/0.1289, allocations: 490.7 kB / 484 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.129, allocations: 24.62 kB / 484 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/0.129, allocations: 43.22 kB / 484.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 1.844e-06/0.129, allocations: 0 / 484.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.01205/0.1411, allocations: 3.214 MB / 487.3 MB, free: 12.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.165e-05/0.1412, allocations: 115.4 kB / 487.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004805/0.1417, allocations: 385.5 kB / 487.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.965e-05/0.1418, allocations: 45.7 kB / 487.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.142, allocations: 209.6 kB / 488 MB, free: 11.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002264/0.1422, allocations: 265.7 kB / 488.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002775/0.1425, allocations: 150.6 kB / 488.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.1426, allocations: 358.8 kB / 488.8 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007188/0.1434, allocations: 469.8 kB / 489.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007964/0.1442, allocations: 0.5325 MB / 489.8 MB, free: 9.785 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/0.1457, allocations: 1.017 MB / 490.8 MB, free: 8.766 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1458, allocations: 0 / 490.8 MB, free: 8.766 MB / 366.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005417/0.1512, allocations: 2.019 MB / 492.8 MB, free: 6.738 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.1512, allocations: 11.92 kB / 492.8 MB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1512, allocations: 0 / 492.8 MB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00579/0.157, allocations: 1.527 MB / 494.4 MB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005121/0.1575, allocations: 127.8 kB / 494.5 MB, free: 5.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01229/0.1698, allocations: 6.29 MB / 0.489 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007272/0.1706, allocations: 79.53 kB / 0.4891 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.801e-05/0.1707, allocations: 35.92 kB / 0.4891 GB, free: 14.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.0003058/0.171, allocations: 185.7 kB / 0.4893 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.1711, allocations: 59.62 kB / 0.4894 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005641/0.1768, allocations: 1.99 MB / 0.4913 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/0.1768, allocations: 12 kB / 0.4913 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1768, allocations: 0 / 0.4913 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/0.1769, allocations: 3.984 kB / 0.4913 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006874/0.1838, allocations: 2.827 MB / 0.4941 GB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.1838, allocations: 0 / 0.4941 GB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003604/0.1842, allocations: 95.83 kB / 0.4942 GB, free: 9.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005734/0.1899, allocations: 1.289 MB / 0.4954 GB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.19, allocations: 16 kB / 0.4955 GB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01243/0.2025, allocations: 6.222 MB / 0.5015 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2025, allocations: 7.938 kB / 0.5015 GB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2137/0.4162, allocations: 1.932 MB / 0.5034 GB, free: 44.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.4164, allocations: 144.3 kB / 0.5036 GB, free: 44.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.4165, allocations: 14.14 kB / 0.5036 GB, free: 44.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005751/0.4171, allocations: 47.11 kB / 0.5036 GB, free: 44.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002736/0.4174, allocations: 72.14 kB / 0.5037 GB, free: 44.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.982e-05/0.4175, allocations: 27.28 kB / 0.5037 GB, free: 44.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003507/0.4178, allocations: 259 kB / 0.504 GB, free: 44.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4179, allocations: 0 / 0.504 GB, free: 44.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008984/0.4188, allocations: 285 kB / 0.5042 GB, free: 44.61 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 (56): * Single equations (assignments): 55 * 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.005478/0.4242, allocations: 2.521 MB / 0.5067 GB, free: 43.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004106/0.4284, allocations: 1.684 MB / 0.5083 GB, free: 43.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.4284, allocations: 0 / 0.5083 GB, free: 43.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00295/0.4314, allocations: 1.117 MB / 0.5094 GB, free: 43.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005654/0.4319, allocations: 67.27 kB / 0.5095 GB, free: 43.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/0.4477, allocations: 7.757 MB / 0.5171 GB, free: 39.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000449/0.4481, allocations: 0.8812 MB / 0.5179 GB, free: 38.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003307/0.4485, allocations: 80.53 kB / 0.518 GB, free: 38.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002596/0.4488, allocations: 201.2 kB / 0.5182 GB, free: 38.77 MB / 382.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4488, allocations: 0 / 0.5182 GB, free: 38.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05022/0.499, allocations: 23.8 MB / 0.5415 GB, free: 21.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/12.94, allocations: 15.98 kB / 0.5415 GB, free: 21.79 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe 2>&1)