Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.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.MVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 120.2 kB / 17.13 MB, free: 5.914 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.001105/0.001105, allocations: 189.1 kB / 18.06 MB, free: 4.996 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.276/1.276, 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.04499/0.04499, allocations: 8.103 MB / 300 MB, free: 6.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 71.89 kB / 415.2 MB, free: 21.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08083/0.08202, allocations: 51.51 MB / 466.7 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.003252/0.08531, allocations: 2.108 MB / 468.8 MB, free: 28 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.0874, allocations: 1.516 MB / 470.3 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.08757, allocations: 8 kB / 470.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004122/0.08799, allocations: 139.2 kB / 470.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004346/0.08845, allocations: 163 kB / 470.6 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001847/0.09031, allocations: 1.077 MB / 471.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004148/0.09073, allocations: 318.4 kB / 472 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002047/0.09095, allocations: 124 kB / 472.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001357/0.09109, allocations: 127.6 kB / 472.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.09129, allocations: 159.2 kB / 472.4 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.376e-05/0.09135, allocations: 24 kB / 472.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004417/0.09179, allocations: 251.8 kB / 472.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.979e-05/0.09186, allocations: 63.7 kB / 472.7 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.09201, allocations: 147.3 kB / 472.9 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005908/0.0926, allocations: 490.6 kB / 473.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.09262, allocations: 0 / 473.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.09263, allocations: 0 / 473.3 MB, free: 11.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.09264, allocations: 4 kB / 473.3 MB, free: 11.43 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.004107/0.09676, allocations: 1.135 MB / 474.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.0968, allocations: 8.031 kB / 474.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.217e-05/0.0969, allocations: 36.56 kB / 474.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.09721, allocations: 287.7 kB / 474.8 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.09724, allocations: 28.88 kB / 474.8 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.733e-05/0.09729, allocations: 24.38 kB / 474.9 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006071/0.09791, allocations: 377.1 kB / 475.2 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.09793, allocations: 192 / 475.2 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.559e-05/0.09797, allocations: 11.94 kB / 475.2 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.09798, allocations: 4 kB / 475.2 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004762/0.09846, allocations: 310.1 kB / 475.5 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002021/0.1005, allocations: 1.443 MB / 477 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.1016, allocations: 406.7 kB / 477.4 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000265/0.1018, allocations: 181.3 kB / 477.6 MB, free: 6.949 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.664e-05/0.1019, allocations: 19.97 kB / 477.6 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.1019, allocations: 34.56 kB / 477.6 MB, free: 6.887 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.543e-06/0.1019, allocations: 0 / 477.6 MB, free: 6.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.004334/0.1063, allocations: 1.247 MB / 478.9 MB, free: 5.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.1064, allocations: 110.8 kB / 479 MB, free: 5.457 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.1066, allocations: 232 kB / 479.2 MB, free: 5.219 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.1066, allocations: 29.7 kB / 479.2 MB, free: 5.184 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.1067, allocations: 156.4 kB / 479.4 MB, free: 5.027 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.059e-05/0.1068, allocations: 102.5 kB / 479.5 MB, free: 4.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.107, allocations: 82.11 kB / 479.6 MB, free: 4.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1071, allocations: 342.8 kB / 479.9 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000318/0.1074, allocations: 204.8 kB / 480.1 MB, free: 4.297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003458/0.1078, allocations: 252.1 kB / 480.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006856/0.1085, allocations: 461.1 kB / 480.8 MB, free: 3.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1085, allocations: 0 / 480.8 MB, free: 3.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.002242/0.1107, allocations: 0.8524 MB / 481.6 MB, free: 2.715 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.1108, allocations: 8 kB / 481.7 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1108, allocations: 0 / 481.7 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002222/0.113, allocations: 445.2 kB / 482.1 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/0.1133, allocations: 63.91 kB / 482.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005456/0.1188, allocations: 4.129 MB / 486.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/0.1191, allocations: 51.64 kB / 486.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.718e-05/0.1192, allocations: 15.94 kB / 486.3 MB, free: 13.71 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002173/0.1194, allocations: 149.7 kB / 486.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.539e-05/0.1195, allocations: 23.72 kB / 486.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002303/0.1218, allocations: 0.7823 MB / 487.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1219, allocations: 4 kB / 487.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.1219, allocations: 4 kB / 487.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.1219, allocations: 0 / 487.3 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004405/0.1223, allocations: 444.8 kB / 487.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1223, allocations: 0 / 487.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.1225, allocations: 47.91 kB / 487.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002083/0.1246, allocations: 437.5 kB / 488.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/0.1246, allocations: 8 kB / 488.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005228/0.1299, allocations: 4.141 MB / 492.4 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1299, allocations: 0 / 492.4 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002094/0.132, allocations: 0.8087 MB / 493.2 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-05/0.1321, allocations: 108.7 kB / 493.3 MB, free: 6.383 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.254e-05/0.1322, allocations: 11.98 kB / 493.3 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/0.1324, allocations: 15.94 kB / 493.3 MB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.032e-05/0.1325, allocations: 23.97 kB / 493.3 MB, free: 6.332 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/0.1326, allocations: 15.98 kB / 493.3 MB, free: 6.316 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001451/0.1327, allocations: 156.5 kB / 493.5 MB, free: 6.168 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1327, allocations: 0 / 493.5 MB, free: 6.168 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005361/0.1333, allocations: 127.8 kB / 493.6 MB, free: 6.043 MB / 366.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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002203/0.1335, allocations: 131.2 kB / 493.7 MB, free: 5.902 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001905/0.1354, allocations: 0.8088 MB / 494.6 MB, free: 5.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1354, allocations: 0 / 494.6 MB, free: 5.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001378/0.1368, allocations: 0.5597 MB / 495.1 MB, free: 4.484 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.1372, allocations: 31.36 kB / 495.1 MB, free: 4.457 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.1383, allocations: 0.6003 MB / 495.7 MB, free: 3.824 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.1386, allocations: 0.7649 MB / 496.5 MB, free: 3.031 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.905e-05/0.1387, allocations: 35.42 kB / 496.5 MB, free: 3 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1388, allocations: 0 / 496.5 MB, free: 3 MB / 366.1 MB Notification: Performance of Templates: time 0.009129/0.1479, allocations: 6.82 MB / 0.4916 GB, free: 12.18 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.makefile (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe 2>&1)