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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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: translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 106.2 kB / 16.45 MB, free: 6.395 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.001627/0.001627, allocations: 191 kB / 17.38 MB, free: 5.664 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.336/1.336, 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/package.mo): time 0.04749/0.04749, allocations: 8.107 MB / 299.3 MB, free: 6.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 59.91 kB / 414.5 MB, free: 21.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1033, allocations: 51.52 MB / 466 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.004057/0.1074, allocations: 3.348 MB / 469.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002615/0.11, allocations: 1.851 MB / 471.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/0.1102, allocations: 12 kB / 471.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004403/0.1106, allocations: 198.7 kB / 471.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006126/0.1113, allocations: 329.8 kB / 471.7 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002181/0.1135, allocations: 1.284 MB / 473 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006747/0.1141, allocations: 0.6492 MB / 473.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003082/0.1145, allocations: 226.9 kB / 473.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.1147, allocations: 274.9 kB / 474.1 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003974/0.1151, allocations: 358.5 kB / 474.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.909e-05/0.1152, allocations: 52 kB / 474.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004728/0.1157, allocations: 287.7 kB / 474.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.1158, allocations: 131.5 kB / 475 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002686/0.1161, allocations: 318.4 kB / 475.3 MB, free: 8.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008512/0.1169, allocations: 0.825 MB / 476.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1169, allocations: 0 / 476.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1169, allocations: 0 / 476.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.117, allocations: 0 / 476.1 MB, free: 8.027 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.00708/0.124, allocations: 1.898 MB / 478 MB, free: 6.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.1241, allocations: 8.031 kB / 478 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/0.1243, allocations: 72.56 kB / 478.1 MB, free: 5.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005736/0.1249, allocations: 426.3 kB / 478.5 MB, free: 5.539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.434e-05/0.1249, allocations: 41.38 kB / 478.5 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.304e-05/0.125, allocations: 56.31 kB / 478.6 MB, free: 5.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.1261, allocations: 0.7218 MB / 479.3 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1261, allocations: 4.188 kB / 479.3 MB, free: 4.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.873e-05/0.1261, allocations: 23.94 kB / 479.3 MB, free: 4.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/0.1262, allocations: 12 kB / 479.3 MB, free: 4.676 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009499/0.1271, allocations: 0.656 MB / 480 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003483/0.1306, allocations: 2.849 MB / 482.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.132, allocations: 1.086 MB / 483.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006489/0.1327, allocations: 490.7 kB / 484.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001017/0.1328, allocations: 28.59 kB / 484.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.1328, allocations: 47.22 kB / 484.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.555e-06/0.1328, allocations: 0 / 484.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.01159/0.1444, allocations: 3.21 MB / 487.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/0.1445, allocations: 115.4 kB / 487.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004873/0.145, allocations: 377.5 kB / 488.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.1451, allocations: 49.7 kB / 488.2 MB, free: 11.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.1453, allocations: 213.5 kB / 488.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/0.1455, allocations: 257.7 kB / 488.7 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002764/0.1458, allocations: 154.6 kB / 488.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1459, allocations: 370.8 kB / 489.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006759/0.1466, allocations: 457.9 kB / 489.6 MB, free: 9.926 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007383/0.1474, allocations: 0.5287 MB / 490.2 MB, free: 9.391 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.1489, allocations: 1.017 MB / 491.2 MB, free: 8.371 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.1489, allocations: 0 / 491.2 MB, free: 8.371 MB / 366.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005204/0.1541, allocations: 2.016 MB / 493.2 MB, free: 6.348 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.1541, allocations: 8 kB / 493.2 MB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.1542, allocations: 0 / 493.2 MB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005393/0.1596, allocations: 1.531 MB / 494.7 MB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005433/0.1601, allocations: 131.8 kB / 494.9 MB, free: 4.676 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01102/0.1712, allocations: 6.294 MB / 0.4894 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007077/0.1719, allocations: 79.53 kB / 0.4895 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.576e-05/0.172, allocations: 27.98 kB / 0.4895 GB, free: 14.14 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.0002702/0.1723, allocations: 201.6 kB / 0.4897 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.1724, allocations: 59.62 kB / 0.4898 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004981/0.1774, allocations: 1.99 MB / 0.4917 GB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/0.1774, allocations: 12 kB / 0.4917 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.1774, allocations: 0 / 0.4917 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.1774, allocations: 3.984 kB / 0.4917 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005654/0.1831, allocations: 2.827 MB / 0.4945 GB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.1831, allocations: 0 / 0.4945 GB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000312/0.1834, allocations: 103.8 kB / 0.4946 GB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00506/0.1885, allocations: 1.281 MB / 0.4958 GB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-05/0.1886, allocations: 19.98 kB / 0.4959 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01042/0.199, allocations: 6.222 MB / 0.5019 GB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.199, allocations: 4 kB / 0.5019 GB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.225/0.424, allocations: 1.933 MB / 0.5038 GB, free: 45.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003069/0.4244, allocations: 141.4 kB / 0.504 GB, free: 45.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.4246, allocations: 16.64 kB / 0.504 GB, free: 45.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005803/0.4251, allocations: 51.48 kB / 0.504 GB, free: 45.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003153/0.4255, allocations: 63 kB / 0.5041 GB, free: 45.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.185e-05/0.4255, allocations: 25.62 kB / 0.5041 GB, free: 45.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004/0.426, allocations: 261.4 kB / 0.5044 GB, free: 45.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.426, allocations: 0 / 0.5044 GB, free: 45.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001044/0.427, allocations: 282.9 kB / 0.5046 GB, free: 45.09 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.0002365/0.4273, allocations: 130.8 kB / 0.5048 GB, free: 45.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003833/0.4311, allocations: 1.681 MB / 0.5064 GB, free: 44.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.4311, allocations: 1.438 kB / 0.5064 GB, free: 44.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002759/0.4339, allocations: 1.121 MB / 0.5075 GB, free: 44.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007486/0.4346, allocations: 66 kB / 0.5076 GB, free: 44.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002772/0.4374, allocations: 1.165 MB / 0.5087 GB, free: 44.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006729/0.4381, allocations: 0.8824 MB / 0.5096 GB, free: 43.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003691/0.4385, allocations: 76.59 kB / 0.5096 GB, free: 43.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.4387, allocations: 51.44 kB / 0.5097 GB, free: 43.51 MB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4387, allocations: 0 / 0.5097 GB, free: 43.51 MB / 382.1 MB Notification: Performance of Templates: time 0.02472/0.4634, allocations: 18.83 MB / 0.5281 GB, free: 35.69 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.makefile (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 & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe 2>&1)