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/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: "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork",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.0008555/0.0008555, allocations: 101 kB / 15.73 MB, free: 436 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.0008386/0.0008386, allocations: 177 kB / 16.61 MB, free: 6.418 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.259/1.259, allocations: 223.2 MB / 240.5 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1448/0.1448, allocations: 8.08 MB / 299.7 MB, free: 2.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002671/0.0002671, allocations: 8 kB / 362.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08174/0.08202, allocations: 52.51 MB / 415.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.001738/0.08379, allocations: 1.556 MB / 416.9 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.08533, allocations: 1.45 MB / 418.4 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.066e-05/0.08542, allocations: 4 kB / 418.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002403/0.08566, allocations: 99.45 kB / 418.5 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002659/0.08594, allocations: 159.5 kB / 418.6 MB, free: 5.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.08729, allocations: 0.8565 MB / 419.5 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002762/0.08758, allocations: 219.5 kB / 419.7 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.08774, allocations: 85.8 kB / 419.8 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.401e-05/0.08784, allocations: 111.6 kB / 419.9 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.08799, allocations: 131.4 kB / 420 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.884e-05/0.08803, allocations: 19.98 kB / 420 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003009/0.08834, allocations: 199.7 kB / 420.2 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.005e-05/0.08838, allocations: 47.77 kB / 420.3 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.314e-05/0.08844, allocations: 77.58 kB / 420.4 MB, free: 3.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003485/0.0888, allocations: 335.4 kB / 420.7 MB, free: 3.258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.08881, allocations: 0 / 420.7 MB, free: 3.258 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.08882, allocations: 0 / 420.7 MB, free: 3.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.08883, allocations: 3.938 kB / 420.7 MB, free: 3.254 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.003669/0.0925, allocations: 1.088 MB / 421.8 MB, free: 2.117 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.09254, allocations: 16.03 kB / 421.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.177e-05/0.09264, allocations: 63.05 kB / 421.8 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.424e-05/0.09272, allocations: 31.62 kB / 421.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.09299, allocations: 274.6 kB / 422.1 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.09303, allocations: 20.56 kB / 422.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.356e-05/0.09308, allocations: 28 kB / 422.2 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005333/0.09361, allocations: 372.5 kB / 422.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.09363, allocations: 0 / 422.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.278e-05/0.09367, allocations: 19.94 kB / 422.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.09368, allocations: 11.95 kB / 422.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000442/0.09413, allocations: 318.1 kB / 422.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1469/0.241, allocations: 1.464 MB / 424.4 MB, free: 40.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000867/0.2419, allocations: 400.2 kB / 424.8 MB, free: 40.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.134e-05/0.242, allocations: 15.8 kB / 424.8 MB, free: 40.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.242, allocations: 33.22 kB / 424.8 MB, free: 40.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.854e-06/0.242, allocations: 0 / 424.8 MB, free: 40.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.003635/0.2456, allocations: 1.249 MB / 426.1 MB, free: 40.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.2457, allocations: 106.6 kB / 426.2 MB, free: 40.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.2458, allocations: 223 kB / 426.4 MB, free: 40.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.2459, allocations: 35.33 kB / 426.4 MB, free: 40.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.146e-05/0.2459, allocations: 166.1 kB / 426.6 MB, free: 39.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.255e-05/0.246, allocations: 96.66 kB / 426.7 MB, free: 39.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/0.246, allocations: 6.938 kB / 426.7 MB, free: 39.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.351e-05/0.2461, allocations: 333 kB / 427 MB, free: 39.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002464/0.2463, allocations: 203.4 kB / 427.2 MB, free: 39.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/0.2466, allocations: 247.2 kB / 427.4 MB, free: 39.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002706/0.2469, allocations: 229.6 kB / 427.7 MB, free: 39.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2469, allocations: 3.75 kB / 427.7 MB, free: 39.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001878/0.2488, allocations: 0.8404 MB / 428.5 MB, free: 39.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.2488, allocations: 3.188 kB / 428.5 MB, free: 39.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.2488, allocations: 0 / 428.5 MB, free: 39.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001908/0.2507, allocations: 456 kB / 429 MB, free: 39.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.251, allocations: 67.41 kB / 429 MB, free: 39.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003869/0.2549, allocations: 3.911 MB / 432.9 MB, free: 36.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002801/0.2552, allocations: 38.97 kB / 433 MB, free: 36.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/0.2552, allocations: 16.69 kB / 433 MB, free: 36.86 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001247/0.2553, allocations: 144.8 kB / 433.1 MB, free: 36.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.02e-05/0.2554, allocations: 21.28 kB / 433.1 MB, free: 36.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001916/0.2573, allocations: 0.7887 MB / 433.9 MB, free: 36.63 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.299e-06/0.2573, allocations: 5.172 kB / 433.9 MB, free: 36.63 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2573, allocations: 3.25 kB / 433.9 MB, free: 36.63 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.2573, allocations: 5.875 kB / 434 MB, free: 36.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003641/0.2577, allocations: 441.2 kB / 434.4 MB, free: 36.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2577, allocations: 3.938 kB / 434.4 MB, free: 36.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.2579, allocations: 43.77 kB / 434.4 MB, free: 36.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001868/0.2598, allocations: 447 kB / 434.9 MB, free: 36.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.2598, allocations: 7.328 kB / 434.9 MB, free: 36.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003682/0.2635, allocations: 3.9 MB / 438.8 MB, free: 33.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2635, allocations: 0 / 438.8 MB, free: 33.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.2652, allocations: 0.8092 MB / 439.6 MB, free: 32.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/0.2653, allocations: 106.8 kB / 439.7 MB, free: 32.58 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/0.2653, allocations: 7.938 kB / 439.7 MB, free: 32.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/0.2656, allocations: 21.97 kB / 439.7 MB, free: 32.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/0.2657, allocations: 26.94 kB / 439.7 MB, free: 32.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.2657, allocations: 6.531 kB / 439.7 MB, free: 32.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.49e-05/0.2658, allocations: 161.7 kB / 439.9 MB, free: 32.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2658, allocations: 0 / 439.9 MB, free: 32.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004684/0.2663, allocations: 129.9 kB / 440 MB, free: 32.44 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 (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002197/0.2685, allocations: 1.622 MB / 441.7 MB, free: 31.36 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001523/0.27, allocations: 0.7988 MB / 442.5 MB, free: 30.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.27, allocations: 3.156 kB / 442.5 MB, free: 30.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.2711, allocations: 0.5533 MB / 443 MB, free: 30.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.2713, allocations: 15.97 kB / 443 MB, free: 30.56 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.2724, allocations: 1.099 MB / 444.1 MB, free: 29.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/0.2726, allocations: 0.7757 MB / 444.9 MB, free: 29.03 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001251/0.2727, allocations: 37.64 kB / 444.9 MB, free: 29.03 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.2729, allocations: 100.5 kB / 445 MB, free: 28.96 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2729, allocations: 0 / 445 MB, free: 28.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01628/0.2891, allocations: 8.59 MB / 453.6 MB, free: 28.37 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001147/0.2893, allocations: 201.9 kB / 453.8 MB, free: 28.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.641/1.93, allocations: 0 / 453.8 MB, free: 28.14 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe 2>&1) Environment - environmentSimulation: