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: "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 104.3 kB / 16.31 MB, free: 6.359 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.001687/0.001687, allocations: 186.2 kB / 17.24 MB, free: 5.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.359/1.359, allocations: 222.9 MB / 240.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05094/0.05094, allocations: 8.112 MB / 299.2 MB, free: 6.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 67.88 kB / 361.8 MB, free: 8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2099/0.2114, allocations: 51.5 MB / 413.4 MB, free: 25.56 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.002752/0.2142, allocations: 2.456 MB / 415.8 MB, free: 23.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.2158, allocations: 1.493 MB / 417.3 MB, free: 21.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.2159, allocations: 8 kB / 417.3 MB, free: 21.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003761/0.2163, allocations: 159 kB / 417.5 MB, free: 21.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003429/0.2167, allocations: 186.8 kB / 417.6 MB, free: 21.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.218, allocations: 0.9485 MB / 418.6 MB, free: 20.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003756/0.2184, allocations: 426 kB / 419 MB, free: 19.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.2186, allocations: 146.5 kB / 419.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.2187, allocations: 171.4 kB / 419.3 MB, free: 19.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.219, allocations: 227 kB / 419.5 MB, free: 19.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.82e-05/0.219, allocations: 36 kB / 419.6 MB, free: 19.31 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000277/0.2193, allocations: 211.8 kB / 419.8 MB, free: 19.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.242e-05/0.2194, allocations: 87.62 kB / 419.9 MB, free: 19.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.2195, allocations: 195 kB / 420.1 MB, free: 18.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004311/0.2199, allocations: 0.5412 MB / 420.6 MB, free: 18.28 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2199, allocations: 4 kB / 420.6 MB, free: 18.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2199, allocations: 0 / 420.6 MB, free: 18.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.22, allocations: 0 / 420.6 MB, free: 18.28 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.00333/0.2233, allocations: 1.127 MB / 421.7 MB, free: 17.1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.2233, allocations: 12.03 kB / 421.7 MB, free: 17.09 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001038/0.2235, allocations: 67.38 kB / 421.8 MB, free: 17.01 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.601e-05/0.2235, allocations: 44.47 kB / 421.9 MB, free: 16.97 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003925/0.2239, allocations: 335.4 kB / 422.2 MB, free: 16.6 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.224, allocations: 28.97 kB / 422.2 MB, free: 16.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.079e-05/0.224, allocations: 36.38 kB / 422.2 MB, free: 16.54 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005567/0.2246, allocations: 422.5 kB / 422.7 MB, free: 16.12 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.2246, allocations: 3.938 kB / 422.7 MB, free: 16.12 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.026e-05/0.2247, allocations: 16 kB / 422.7 MB, free: 16.1 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.2247, allocations: 8 kB / 422.7 MB, free: 16.09 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004916/0.2252, allocations: 394.4 kB / 423.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.227, allocations: 1.491 MB / 424.6 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009686/0.228, allocations: 0.4929 MB / 425.1 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002763/0.2283, allocations: 248.8 kB / 425.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.862e-05/0.2284, allocations: 4 kB / 425.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.2284, allocations: 42.5 kB / 425.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 2.545e-06/0.2284, allocations: 4 kB / 425.3 MB, free: 13.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.004067/0.2325, allocations: 1.506 MB / 426.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.2325, allocations: 59.41 kB / 426.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.2328, allocations: 270.5 kB / 427.2 MB, free: 11.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.908e-05/0.2328, allocations: 37.7 kB / 427.2 MB, free: 11.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.149e-05/0.2329, allocations: 168.8 kB / 427.4 MB, free: 11.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.5e-05/0.233, allocations: 149.9 kB / 427.5 MB, free: 11 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.2331, allocations: 90.17 kB / 427.6 MB, free: 10.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.909e-05/0.2332, allocations: 342.8 kB / 427.9 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/0.2335, allocations: 213.1 kB / 428.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.2337, allocations: 217 kB / 428.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005736/0.2343, allocations: 495.4 kB / 428.9 MB, free: 9.656 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2343, allocations: 0 / 428.9 MB, free: 9.656 MB / 302.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001863/0.2362, allocations: 0.8911 MB / 429.7 MB, free: 8.746 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.2362, allocations: 4 kB / 429.7 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.2362, allocations: 3.984 kB / 429.7 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001672/0.2379, allocations: 406.1 kB / 430.1 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/0.2382, allocations: 63.91 kB / 430.2 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005233/0.2434, allocations: 5.931 MB / 436.1 MB, free: 1.926 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000314/0.2438, allocations: 35.53 kB / 436.2 MB, free: 1.891 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.2438, allocations: 20 kB / 436.2 MB, free: 1.871 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.0001574/0.244, allocations: 153.7 kB / 436.3 MB, free: 1.711 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.235e-05/0.244, allocations: 39.61 kB / 436.4 MB, free: 1.672 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002021/0.2461, allocations: 0.9116 MB / 437.3 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.2461, allocations: 8 kB / 437.3 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.2461, allocations: 0 / 437.3 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2461, allocations: 0 / 437.3 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004119/0.2465, allocations: 0.5286 MB / 437.8 MB, free: 160 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2465, allocations: 0 / 437.8 MB, free: 160 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/0.2467, allocations: 59.84 kB / 437.9 MB, free: 100 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001714/0.2485, allocations: 394.1 kB / 438.3 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.254e-05/0.2485, allocations: 12 kB / 438.3 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00652/0.255, allocations: 5.866 MB / 444.2 MB, free: 9.406 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2551, allocations: 0 / 444.2 MB, free: 9.406 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002337/0.2574, allocations: 0.9352 MB / 445.1 MB, free: 8.445 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.2575, allocations: 116.6 kB / 445.2 MB, free: 8.312 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.346e-05/0.2576, allocations: 12 kB / 445.2 MB, free: 8.301 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003392/0.2579, allocations: 31.91 kB / 445.2 MB, free: 8.27 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.2581, allocations: 36.38 kB / 445.3 MB, free: 8.234 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/0.2581, allocations: 16 kB / 445.3 MB, free: 8.219 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002195/0.2583, allocations: 190 kB / 445.5 MB, free: 8.031 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.954e-06/0.2583, allocations: 0 / 445.5 MB, free: 8.031 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006841/0.259, allocations: 167.7 kB / 445.6 MB, free: 7.867 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.003029/0.2621, allocations: 1.815 MB / 447.5 MB, free: 6.016 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002205/0.2643, allocations: 1.013 MB / 448.5 MB, free: 4.969 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.2643, allocations: 4 kB / 448.5 MB, free: 4.965 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002015/0.2663, allocations: 0.7366 MB / 449.2 MB, free: 4.188 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006947/0.2671, allocations: 49.48 kB / 449.3 MB, free: 4.145 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008845/0.2759, allocations: 4.383 MB / 453.6 MB, free: 15.66 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.2763, allocations: 0.8013 MB / 454.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001923/0.2765, allocations: 58.86 kB / 454.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.2767, allocations: 119.4 kB / 454.6 MB, free: 14.65 MB / 334.1 MB Notification: Performance of SimCode: time 8.02e-07/0.2767, allocations: 0 / 454.6 MB, free: 14.65 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04173/0.3185, allocations: 13.61 MB / 468.2 MB, free: 1.215 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.41, allocations: 30.3 kB / 468.3 MB, free: 1.191 MB / 334.1 MB (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 & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe 2>&1)