Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.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.LVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 104.1 kB / 16.98 MB, free: 6.137 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.001244/0.001245, allocations: 191.4 kB / 17.91 MB, free: 5.234 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.359/1.359, allocations: 222.9 MB / 241.6 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05018/0.05018, allocations: 8.107 MB / 299.9 MB, free: 6.699 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 63.91 kB / 362.4 MB, free: 8.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2458, allocations: 51.51 MB / 413.9 MB, free: 25.72 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.002943/0.2488, allocations: 2.444 MB / 416.4 MB, free: 23.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.2506, allocations: 1.496 MB / 417.9 MB, free: 21.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.2507, allocations: 8 kB / 417.9 MB, free: 21.76 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003862/0.2511, allocations: 159.1 kB / 418 MB, free: 21.6 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000355/0.2515, allocations: 186.7 kB / 418.2 MB, free: 21.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.2528, allocations: 0.9472 MB / 419.2 MB, free: 20.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003873/0.2532, allocations: 422 kB / 419.6 MB, free: 20.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.2534, allocations: 146.3 kB / 419.7 MB, free: 19.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.2535, allocations: 179.3 kB / 419.9 MB, free: 19.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.2537, allocations: 231 kB / 420.1 MB, free: 19.51 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.949e-05/0.2538, allocations: 36 kB / 420.1 MB, free: 19.47 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003006/0.2541, allocations: 199.8 kB / 420.3 MB, free: 19.28 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.148e-05/0.2542, allocations: 91.61 kB / 420.4 MB, free: 19.19 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.2543, allocations: 199 kB / 420.6 MB, free: 18.99 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004336/0.2547, allocations: 0.5296 MB / 421.2 MB, free: 18.46 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2547, allocations: 0 / 421.2 MB, free: 18.46 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2548, allocations: 4 kB / 421.2 MB, free: 18.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.2548, allocations: 4 kB / 421.2 MB, free: 18.45 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.003562/0.2583, allocations: 1.138 MB / 422.3 MB, free: 17.26 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.2584, allocations: 15.89 kB / 422.3 MB, free: 17.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.2585, allocations: 40.47 kB / 422.4 MB, free: 17.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/0.2589, allocations: 331.5 kB / 422.7 MB, free: 16.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.259, allocations: 24.94 kB / 422.7 MB, free: 16.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.416e-05/0.259, allocations: 28.38 kB / 422.7 MB, free: 16.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005795/0.2596, allocations: 417.3 kB / 423.1 MB, free: 16.38 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.2596, allocations: 4.172 kB / 423.1 MB, free: 16.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.287e-05/0.2597, allocations: 19.94 kB / 423.2 MB, free: 16.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.2597, allocations: 4 kB / 423.2 MB, free: 16.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004757/0.2602, allocations: 394.1 kB / 423.6 MB, free: 15.97 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001747/0.2619, allocations: 1.483 MB / 425 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009084/0.2629, allocations: 496.8 kB / 425.5 MB, free: 13.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002643/0.2631, allocations: 248.7 kB / 425.8 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.891e-05/0.2632, allocations: 15.97 kB / 425.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.2632, allocations: 46.5 kB / 425.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 1.683e-06/0.2633, allocations: 0 / 425.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.004042/0.2673, allocations: 1.506 MB / 427.3 MB, free: 11.97 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.2673, allocations: 59.41 kB / 427.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.2676, allocations: 262.7 kB / 427.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.823e-05/0.2677, allocations: 37.7 kB / 427.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.079e-05/0.2677, allocations: 168.8 kB / 427.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.324e-05/0.2678, allocations: 153.7 kB / 428 MB, free: 11.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.268, allocations: 90.23 kB / 428.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.314e-05/0.268, allocations: 342.8 kB / 428.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/0.2683, allocations: 209 kB / 428.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.2686, allocations: 221 kB / 428.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005953/0.2692, allocations: 0.4915 MB / 429.3 MB, free: 9.914 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2692, allocations: 0 / 429.3 MB, free: 9.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00188/0.2711, allocations: 0.8911 MB / 430.2 MB, free: 9.008 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.2711, allocations: 6.5 kB / 430.2 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.2711, allocations: 3.938 kB / 430.2 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001701/0.2728, allocations: 398.1 kB / 430.6 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002577/0.2731, allocations: 67.91 kB / 430.7 MB, free: 8.535 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005199/0.2783, allocations: 5.916 MB / 436.6 MB, free: 2.203 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003358/0.2787, allocations: 39.58 kB / 436.6 MB, free: 2.164 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.2787, allocations: 16 kB / 436.7 MB, free: 2.148 MB / 302.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 (41): * 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: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001777/0.2789, allocations: 161.8 kB / 436.8 MB, free: 1.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.367e-05/0.279, allocations: 31.62 kB / 436.8 MB, free: 1.949 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002026/0.281, allocations: 0.9156 MB / 437.8 MB, free: 1.016 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.281, allocations: 4 kB / 437.8 MB, free: 1.012 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.281, allocations: 3.938 kB / 437.8 MB, free: 1.008 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.281, allocations: 3.984 kB / 437.8 MB, free: 1.004 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004237/0.2815, allocations: 0.5208 MB / 438.3 MB, free: 444 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.2815, allocations: 0 / 438.3 MB, free: 444 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001692/0.2816, allocations: 59.91 kB / 438.4 MB, free: 384 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001604/0.2833, allocations: 390.1 kB / 438.7 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.2834, allocations: 11.92 kB / 438.7 MB, free: 15.97 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006613/0.29, allocations: 5.862 MB / 444.6 MB, free: 9.691 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.29, allocations: 7.969 kB / 444.6 MB, free: 9.684 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002229/0.2923, allocations: 0.9353 MB / 445.5 MB, free: 8.719 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.2924, allocations: 120.5 kB / 445.7 MB, free: 8.582 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/0.2925, allocations: 8 kB / 445.7 MB, free: 8.574 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003542/0.2928, allocations: 27.97 kB / 445.7 MB, free: 8.547 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.293, allocations: 40.39 kB / 445.7 MB, free: 8.508 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/0.293, allocations: 12 kB / 445.8 MB, free: 8.496 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002346/0.2932, allocations: 193.9 kB / 445.9 MB, free: 8.309 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2933, allocations: 3.938 kB / 445.9 MB, free: 8.305 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006584/0.2939, allocations: 167.8 kB / 446.1 MB, free: 8.141 MB / 318.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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002542/0.2942, allocations: 123.2 kB / 446.2 MB, free: 8.012 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002218/0.2964, allocations: 1.013 MB / 447.2 MB, free: 6.961 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.2964, allocations: 0 / 447.2 MB, free: 6.961 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001417/0.2979, allocations: 0.7443 MB / 448 MB, free: 6.18 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.2983, allocations: 55.38 kB / 448 MB, free: 6.125 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.2997, allocations: 0.7419 MB / 448.8 MB, free: 5.348 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.3001, allocations: 0.8051 MB / 449.6 MB, free: 4.516 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.3002, allocations: 35.42 kB / 449.6 MB, free: 4.48 MB / 318.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3002, allocations: 0 / 449.6 MB, free: 4.48 MB / 318.1 MB Notification: Performance of Templates: time 0.01364/0.3139, allocations: 9.795 MB / 459.4 MB, free: 10.69 MB / 334.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.makefile (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe 2>&1)