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.0008157/0.0008156, allocations: 92.81 kB / 16.71 MB, free: 6.641 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.0008691/0.0008693, allocations: 177.1 kB / 17.62 MB, free: 6.16 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.34/1.34, allocations: 223.3 MB / 241.7 MB, free: 14.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0415/0.0415, allocations: 8.099 MB / 300.9 MB, free: 6.449 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003081/0.0003081, allocations: 12.28 kB / 364.2 MB, free: 7.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2119, allocations: 52.51 MB / 416.7 MB, free: 24.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.001625/0.2135, allocations: 1.764 MB / 418.4 MB, free: 23.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.2152, allocations: 1.501 MB / 419.9 MB, free: 21.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.2153, allocations: 4 kB / 419.9 MB, free: 21.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003305/0.2157, allocations: 119.5 kB / 420 MB, free: 21.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003216/0.216, allocations: 143.2 kB / 420.2 MB, free: 21.44 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.2174, allocations: 1.022 MB / 421.2 MB, free: 20.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003122/0.2177, allocations: 298.5 kB / 421.5 MB, free: 20.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.2179, allocations: 94.56 kB / 421.6 MB, free: 20.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.675e-05/0.218, allocations: 111.5 kB / 421.7 MB, free: 19.92 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.2181, allocations: 143.3 kB / 421.8 MB, free: 19.78 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.773e-05/0.2182, allocations: 12 kB / 421.9 MB, free: 19.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003586/0.2185, allocations: 235.7 kB / 422.1 MB, free: 19.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.426e-05/0.2186, allocations: 43.84 kB / 422.1 MB, free: 19.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.573e-05/0.2187, allocations: 168.9 kB / 422.3 MB, free: 19.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.219, allocations: 347 kB / 422.6 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.219, allocations: 4 kB / 422.6 MB, free: 18.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.219, allocations: 0 / 422.6 MB, free: 18.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.219, allocations: 3.938 kB / 422.6 MB, free: 18.98 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.003527/0.2225, allocations: 1.084 MB / 423.7 MB, free: 17.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.2226, allocations: 11.97 kB / 423.7 MB, free: 17.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.731e-05/0.2227, allocations: 36.56 kB / 423.8 MB, free: 17.79 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.2229, allocations: 287.7 kB / 424.1 MB, free: 17.47 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.223, allocations: 20.94 kB / 424.1 MB, free: 17.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.453e-05/0.223, allocations: 28.38 kB / 424.1 MB, free: 17.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005288/0.2235, allocations: 385 kB / 424.5 MB, free: 17.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.2236, allocations: 192 / 424.5 MB, free: 17.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/0.2236, allocations: 11.94 kB / 424.5 MB, free: 17.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.2236, allocations: 8 kB / 424.5 MB, free: 17.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003994/0.224, allocations: 310.1 kB / 424.8 MB, free: 16.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/0.2258, allocations: 1.462 MB / 426.3 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000938/0.2267, allocations: 402.6 kB / 426.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.2269, allocations: 176.8 kB / 426.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.782e-05/0.227, allocations: 15.97 kB / 426.8 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.227, allocations: 38.56 kB / 426.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.763e-06/0.227, allocations: 3.938 kB / 426.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.00389/0.2309, allocations: 1.24 MB / 428.1 MB, free: 13.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.377e-05/0.231, allocations: 110.8 kB / 428.2 MB, free: 13.03 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.2312, allocations: 220.1 kB / 428.4 MB, free: 12.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.2312, allocations: 33.7 kB / 428.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.382e-05/0.2313, allocations: 160.4 kB / 428.6 MB, free: 12.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.763e-05/0.2314, allocations: 98.55 kB / 428.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.363e-05/0.2314, allocations: 37.7 kB / 428.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.829e-05/0.2315, allocations: 342.8 kB / 429.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/0.2318, allocations: 208.8 kB / 429.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.232, allocations: 248.2 kB / 429.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005471/0.2326, allocations: 465 kB / 430 MB, free: 11.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2326, allocations: 0 / 430 MB, free: 11.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.002022/0.2346, allocations: 0.8485 MB / 430.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.2347, allocations: 7.938 kB / 430.9 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2347, allocations: 3.984 kB / 430.9 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002113/0.2368, allocations: 449.2 kB / 431.3 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002679/0.2371, allocations: 67.91 kB / 431.4 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004123/0.2412, allocations: 3.846 MB / 435.2 MB, free: 5.699 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003232/0.2416, allocations: 43.78 kB / 435.3 MB, free: 5.656 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.2416, allocations: 15.98 kB / 435.3 MB, free: 5.641 MB / 302.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.0001468/0.2417, allocations: 149.8 kB / 435.4 MB, free: 5.484 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-05/0.2418, allocations: 19.72 kB / 435.4 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002071/0.2439, allocations: 0.7784 MB / 436.2 MB, free: 4.672 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.2439, allocations: 4 kB / 436.2 MB, free: 4.668 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.2439, allocations: 15.88 kB / 436.2 MB, free: 4.652 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.2439, allocations: 3.984 kB / 436.2 MB, free: 4.648 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003437/0.2443, allocations: 429.1 kB / 436.7 MB, free: 4.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2443, allocations: 0 / 436.7 MB, free: 4.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.2444, allocations: 51.92 kB / 436.7 MB, free: 4.129 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002007/0.2465, allocations: 445.2 kB / 437.1 MB, free: 3.688 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.777e-05/0.2465, allocations: 7.984 kB / 437.2 MB, free: 3.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00418/0.2507, allocations: 3.819 MB / 441 MB, free: 15.6 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.2507, allocations: 0 / 441 MB, free: 15.6 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/0.253, allocations: 0.8169 MB / 441.8 MB, free: 14.76 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.2531, allocations: 108.8 kB / 441.9 MB, free: 14.63 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.901e-05/0.2531, allocations: 4 kB / 441.9 MB, free: 14.63 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002814/0.2534, allocations: 23.45 kB / 441.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.2535, allocations: 27.95 kB / 441.9 MB, free: 14.58 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/0.2536, allocations: 12 kB / 442 MB, free: 14.57 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001573/0.2537, allocations: 156.5 kB / 442.1 MB, free: 14.42 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2537, allocations: 0 / 442.1 MB, free: 14.42 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005746/0.2543, allocations: 135.8 kB / 442.2 MB, free: 14.29 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 (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.0002105/0.2545, allocations: 123.2 kB / 442.4 MB, free: 14.15 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001893/0.2564, allocations: 0.8042 MB / 443.2 MB, free: 13.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.2565, allocations: 3.938 kB / 443.2 MB, free: 13.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001357/0.2578, allocations: 0.548 MB / 443.7 MB, free: 12.74 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.2582, allocations: 24.61 kB / 443.7 MB, free: 12.72 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.2593, allocations: 0.7475 MB / 444.5 MB, free: 11.94 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.2596, allocations: 0.7648 MB / 445.3 MB, free: 11.15 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.055e-05/0.2597, allocations: 35.42 kB / 445.3 MB, free: 11.11 MB / 318.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2597, allocations: 0 / 445.3 MB, free: 11.11 MB / 318.1 MB Notification: Performance of Templates: time 0.009293/0.269, allocations: 6.758 MB / 452.1 MB, free: 4.363 MB / 318.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)