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: 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.001096/0.001096, allocations: 119.2 kB / 17.13 MB, free: 5.938 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.001147/0.001147, allocations: 196.1 kB / 18.07 MB, free: 5.016 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.289/1.289, allocations: 222.9 MB / 241.8 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.04574/0.04574, allocations: 8.096 MB / 300 MB, free: 6.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 63.91 kB / 415.2 MB, free: 21.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08015/0.08142, allocations: 51.52 MB / 466.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.004179/0.08563, allocations: 3.333 MB / 470 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002744/0.0884, allocations: 1.862 MB / 471.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003804/0.0888, allocations: 8 kB / 471.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005739/0.08938, allocations: 210.6 kB / 472.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000903/0.09032, allocations: 321.9 kB / 472.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002395/0.09273, allocations: 1.291 MB / 473.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009394/0.09368, allocations: 0.657 MB / 474.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003584/0.09405, allocations: 222.9 kB / 474.6 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003784/0.09444, allocations: 283 kB / 474.9 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005122/0.09496, allocations: 342.5 kB / 475.2 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.09509, allocations: 52 kB / 475.2 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006031/0.0957, allocations: 283.8 kB / 475.5 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.09584, allocations: 135.4 kB / 475.6 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000357/0.0962, allocations: 318.4 kB / 476 MB, free: 8.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.09721, allocations: 0.8216 MB / 476.8 MB, free: 7.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.09723, allocations: 4 kB / 476.8 MB, free: 7.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.09724, allocations: 0 / 476.8 MB, free: 7.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.03e-05/0.09726, allocations: 0 / 476.8 MB, free: 7.988 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.007417/0.1047, allocations: 1.868 MB / 478.6 MB, free: 6.066 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.1047, allocations: 8.031 kB / 478.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001916/0.1049, allocations: 76.17 kB / 478.7 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005931/0.1055, allocations: 426.1 kB / 479.1 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/0.1056, allocations: 41.31 kB / 479.2 MB, free: 5.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.62e-05/0.1057, allocations: 52.38 kB / 479.2 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.1068, allocations: 0.7181 MB / 480 MB, free: 4.707 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1069, allocations: 192 / 480 MB, free: 4.707 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-05/0.1069, allocations: 23.94 kB / 480 MB, free: 4.684 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.107, allocations: 12 kB / 480 MB, free: 4.672 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.108, allocations: 0.6598 MB / 480.7 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003769/0.1118, allocations: 2.852 MB / 483.5 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.1132, allocations: 1.082 MB / 484.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006372/0.1138, allocations: 490.7 kB / 485.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.493e-05/0.1139, allocations: 16.62 kB / 485.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/0.114, allocations: 47.22 kB / 485.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.154e-06/0.114, allocations: 0 / 485.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.01172/0.1257, allocations: 3.206 MB / 488.3 MB, free: 11.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.496e-05/0.1258, allocations: 115.4 kB / 488.4 MB, free: 11.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004854/0.1263, allocations: 393.3 kB / 488.8 MB, free: 11.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.47e-05/0.1264, allocations: 41.7 kB / 488.9 MB, free: 11.37 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.1266, allocations: 209.4 kB / 489.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002128/0.1268, allocations: 248.3 kB / 489.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002675/0.1271, allocations: 154.6 kB / 489.5 MB, free: 10.76 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1272, allocations: 362.8 kB / 489.8 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006703/0.1279, allocations: 461.8 kB / 490.3 MB, free: 9.941 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007387/0.1287, allocations: 0.5248 MB / 490.8 MB, free: 9.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001464/0.1301, allocations: 1.025 MB / 491.8 MB, free: 8.383 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1302, allocations: 4.031 kB / 491.8 MB, free: 8.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005326/0.1355, allocations: 2.019 MB / 493.8 MB, free: 6.352 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.1355, allocations: 4 kB / 493.9 MB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.1355, allocations: 3.938 kB / 493.9 MB, free: 6.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005645/0.1412, allocations: 1.531 MB / 495.4 MB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000538/0.1417, allocations: 127.8 kB / 495.5 MB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01167/0.1534, allocations: 6.281 MB / 0.49 GB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000688/0.1542, allocations: 75.41 kB / 0.4901 GB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.393e-05/0.1543, allocations: 27.98 kB / 0.4901 GB, free: 14.16 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.000325/0.1546, allocations: 193.7 kB / 0.4903 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.1548, allocations: 55.34 kB / 0.4904 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005469/0.1602, allocations: 1.986 MB / 0.4923 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.1603, allocations: 8 kB / 0.4923 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1603, allocations: 0 / 0.4923 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.1603, allocations: 7.984 kB / 0.4923 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006193/0.1665, allocations: 2.827 MB / 0.4951 GB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.1665, allocations: 7.984 kB / 0.4951 GB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003292/0.1669, allocations: 87.91 kB / 0.4952 GB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005369/0.1722, allocations: 1.297 MB / 0.4964 GB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-05/0.1723, allocations: 19.98 kB / 0.4965 GB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0114/0.1837, allocations: 6.197 MB / 0.5025 GB, free: 1.246 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.1838, allocations: 0 / 0.5025 GB, free: 1.246 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1847/0.3685, allocations: 1.941 MB / 0.5044 GB, free: 45.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/0.3687, allocations: 141.4 kB / 0.5045 GB, free: 44.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/0.3688, allocations: 13.56 kB / 0.5046 GB, free: 44.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006197/0.3695, allocations: 49.41 kB / 0.5046 GB, free: 44.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002509/0.3697, allocations: 60.59 kB / 0.5047 GB, free: 44.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.673e-05/0.3698, allocations: 26.03 kB / 0.5047 GB, free: 44.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000346/0.3702, allocations: 261.8 kB / 0.5049 GB, free: 44.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3702, allocations: 3.75 kB / 0.5049 GB, free: 44.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009412/0.3711, allocations: 285.6 kB / 0.5052 GB, free: 44.89 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.0002355/0.3714, allocations: 143.5 kB / 0.5053 GB, free: 44.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003744/0.3751, allocations: 1.675 MB / 0.507 GB, free: 44.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.85e-06/0.3751, allocations: 7.953 kB / 0.507 GB, free: 44.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002802/0.3779, allocations: 1.107 MB / 0.5081 GB, free: 44.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005663/0.3785, allocations: 71.25 kB / 0.5081 GB, free: 44.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.3803, allocations: 1.18 MB / 0.5093 GB, free: 44.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.3807, allocations: 0.8823 MB / 0.5102 GB, free: 43.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.3808, allocations: 59.14 kB / 0.5102 GB, free: 43.31 MB / 382.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3808, allocations: 0 / 0.5102 GB, free: 43.31 MB / 382.1 MB Notification: Performance of Templates: time 0.01542/0.3963, allocations: 12.08 MB / 0.522 GB, free: 39.97 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)