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.0008628/0.0008628, allocations: 102.6 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 182 kB / 16.97 MB, free: 6.879 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.521/1.521, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1982/0.1982, allocations: 8.088 MB / 300.2 MB, free: 2.914 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003467, allocations: 12 kB / 363.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1275, allocations: 52.52 MB / 416 MB, free: 8.391 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.002902/0.1305, allocations: 2.936 MB / 418.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00262/0.1331, allocations: 1.851 MB / 420.8 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.1333, allocations: 8 kB / 420.8 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004066/0.1337, allocations: 171.2 kB / 421 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005825/0.1343, allocations: 282.4 kB / 421.2 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002081/0.1364, allocations: 1.226 MB / 422.5 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007251/0.1371, allocations: 0.6296 MB / 423.1 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002891/0.1374, allocations: 187.7 kB / 423.3 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/0.1377, allocations: 238.9 kB / 423.5 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003636/0.138, allocations: 322.5 kB / 423.8 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.715e-05/0.1381, allocations: 28 kB / 423.9 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004685/0.1386, allocations: 271.8 kB / 424.1 MB, free: 232 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.171e-05/0.1387, allocations: 99.53 kB / 424.2 MB, free: 132 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2455/0.3841, allocations: 314.1 kB / 424.5 MB, free: 35.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.3859, allocations: 0.7745 MB / 425.3 MB, free: 35.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.386, allocations: 0 / 425.3 MB, free: 35.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.386, allocations: 0 / 425.3 MB, free: 35.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.386, allocations: 0 / 425.3 MB, free: 35.73 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.006958/0.393, allocations: 1.786 MB / 427.1 MB, free: 35.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.393, allocations: 9.969 kB / 427.1 MB, free: 35.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002656/0.3933, allocations: 68.16 kB / 427.2 MB, free: 35.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000622/0.3939, allocations: 424.9 kB / 427.6 MB, free: 34.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.788e-05/0.394, allocations: 45.06 kB / 427.6 MB, free: 34.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.241e-05/0.3941, allocations: 53.69 kB / 427.7 MB, free: 34.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.3952, allocations: 0.7134 MB / 428.4 MB, free: 34.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.3952, allocations: 4.094 kB / 428.4 MB, free: 34.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.167e-05/0.3953, allocations: 26.69 kB / 428.4 MB, free: 34.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.3953, allocations: 9.719 kB / 428.4 MB, free: 34.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009553/0.3962, allocations: 0.6562 MB / 429.1 MB, free: 34.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003422/0.3997, allocations: 2.875 MB / 432 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001425/0.4011, allocations: 1.091 MB / 433.1 MB, free: 33.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006157/0.4017, allocations: 493.9 kB / 433.5 MB, free: 33.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.4019, allocations: 17.28 kB / 433.6 MB, free: 33.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.4019, allocations: 49.12 kB / 433.6 MB, free: 32.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 3.657e-06/0.4019, allocations: 0 / 433.6 MB, free: 32.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.01136/0.4133, allocations: 3.194 MB / 436.8 MB, free: 32.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.4134, allocations: 114 kB / 436.9 MB, free: 32.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004493/0.4138, allocations: 385.6 kB / 437.3 MB, free: 32.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.502e-05/0.4139, allocations: 47.27 kB / 437.3 MB, free: 32.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.4141, allocations: 202.1 kB / 437.5 MB, free: 32.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.4142, allocations: 244.7 kB / 437.8 MB, free: 32.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.4144, allocations: 81.7 kB / 437.8 MB, free: 32.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.4145, allocations: 362.7 kB / 438.2 MB, free: 31.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006409/0.4151, allocations: 466.3 kB / 438.7 MB, free: 31.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006119/0.4158, allocations: 0.5289 MB / 439.2 MB, free: 31.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.417, allocations: 1.019 MB / 440.2 MB, free: 31.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.417, allocations: 0 / 440.2 MB, free: 31.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.00492/0.4219, allocations: 2.021 MB / 442.2 MB, free: 30.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.4219, allocations: 6.438 kB / 442.2 MB, free: 30.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.422, allocations: 0 / 442.2 MB, free: 30.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005536/0.4275, allocations: 1.54 MB / 443.8 MB, free: 30.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005587/0.4281, allocations: 124.6 kB / 443.9 MB, free: 30.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009892/0.438, allocations: 5.733 MB / 449.6 MB, free: 26.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007406/0.4388, allocations: 83.16 kB / 449.7 MB, free: 26.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.275e-05/0.4389, allocations: 30.16 kB / 449.7 MB, free: 26.45 MB / 350.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.0003172/0.4392, allocations: 190.8 kB / 449.9 MB, free: 26.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.4393, allocations: 58.78 kB / 450 MB, free: 26.26 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005228/0.4446, allocations: 1.991 MB / 452 MB, free: 25.48 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.4446, allocations: 9.625 kB / 452 MB, free: 25.48 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4446, allocations: 0 / 452 MB, free: 25.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.4446, allocations: 10.89 kB / 452 MB, free: 25.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006165/0.4508, allocations: 2.833 MB / 454.8 MB, free: 24.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.4508, allocations: 0 / 454.8 MB, free: 24.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003135/0.4512, allocations: 94.88 kB / 454.9 MB, free: 24.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005354/0.4565, allocations: 1.302 MB / 456.2 MB, free: 23.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.812e-05/0.4566, allocations: 21.41 kB / 456.2 MB, free: 23.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01119/0.4678, allocations: 5.647 MB / 461.9 MB, free: 20.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.4679, allocations: 1.156 kB / 461.9 MB, free: 20.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006195/0.4741, allocations: 1.939 MB / 463.8 MB, free: 19.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002776/0.4744, allocations: 141.7 kB / 464 MB, free: 19.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.4746, allocations: 19.16 kB / 464 MB, free: 19.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007082/0.4753, allocations: 54.38 kB / 464 MB, free: 19.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000264/0.4756, allocations: 61.56 kB / 464.1 MB, free: 19.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.122e-05/0.4757, allocations: 28.59 kB / 464.1 MB, free: 19.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003893/0.4761, allocations: 262.2 kB / 464.4 MB, free: 19.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4761, allocations: 0 / 464.4 MB, free: 19.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001319/0.4774, allocations: 281.6 kB / 464.7 MB, free: 19.32 MB / 350.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.0003353/0.4777, allocations: 132.4 kB / 464.8 MB, free: 19.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004341/0.4821, allocations: 1.641 MB / 466.4 MB, free: 18.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.4821, allocations: 3.438 kB / 466.4 MB, free: 18.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002948/0.4851, allocations: 1.084 MB / 467.5 MB, free: 18.03 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007026/0.4858, allocations: 68.66 kB / 467.6 MB, free: 17.99 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.4881, allocations: 1.406 MB / 469 MB, free: 17.14 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.4885, allocations: 0.8788 MB / 469.9 MB, free: 16.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003385/0.4888, allocations: 75.89 kB / 469.9 MB, free: 16.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.489, allocations: 46.58 kB / 470 MB, free: 16.39 MB / 350.1 MB Notification: Performance of SimCode: time 1.342e-06/0.489, allocations: 0 / 470 MB, free: 16.39 MB / 350.1 MB Notification: Performance of Templates: time 0.03474/0.5237, allocations: 17.15 MB / 487.1 MB, free: 9.98 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: