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.0007973/0.0007973, allocations: 96.23 kB / 15.74 MB, free: 424 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.0007929/0.000793, allocations: 172.3 kB / 16.62 MB, free: 6.43 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.257/1.257, allocations: 223.3 MB / 240.7 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1518/0.1518, allocations: 8.096 MB / 299.8 MB, free: 2.871 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002742/0.0002742, allocations: 8 kB / 363 MB, free: 13.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08179/0.08208, allocations: 52.51 MB / 415.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork): time 0.001809/0.08393, allocations: 1.655 MB / 417.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.08546, allocations: 1.435 MB / 418.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.622e-05/0.08555, allocations: 8 kB / 418.6 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002359/0.0858, allocations: 95.52 kB / 418.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002633/0.08607, allocations: 139.3 kB / 418.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.08741, allocations: 0.8604 MB / 419.7 MB, free: 4.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003107/0.08773, allocations: 290.5 kB / 419.9 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.08789, allocations: 89.78 kB / 420 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.72e-05/0.08799, allocations: 111.6 kB / 420.1 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.08815, allocations: 139.4 kB / 420.3 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.08818, allocations: 12 kB / 420.3 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003228/0.08851, allocations: 219.8 kB / 420.5 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.004e-05/0.08856, allocations: 47.77 kB / 420.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.983e-05/0.08863, allocations: 81.58 kB / 420.6 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003457/0.08898, allocations: 351.3 kB / 421 MB, free: 3.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.08899, allocations: 0 / 421 MB, free: 3.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.089, allocations: 0 / 421 MB, free: 3.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.08901, allocations: 0 / 421 MB, free: 3.078 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.003277/0.09229, allocations: 1.088 MB / 422.1 MB, free: 1.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.09234, allocations: 8.031 kB / 422.1 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.938e-05/0.09244, allocations: 63.11 kB / 422.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.669e-05/0.09252, allocations: 35.58 kB / 422.2 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.09279, allocations: 274.6 kB / 422.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.09281, allocations: 32.5 kB / 422.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.385e-05/0.09286, allocations: 28 kB / 422.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005534/0.09342, allocations: 380.4 kB / 422.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.09344, allocations: 4 kB / 422.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.09348, allocations: 8 kB / 422.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.0935, allocations: 11.95 kB / 422.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004263/0.09393, allocations: 314.1 kB / 423.2 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1567/0.2507, allocations: 1.457 MB / 424.6 MB, free: 40.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008284/0.2515, allocations: 405.2 kB / 425 MB, free: 40.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.2518, allocations: 175.3 kB / 425.2 MB, free: 40.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.57e-05/0.2519, allocations: 12.09 kB / 425.2 MB, free: 40.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/0.2519, allocations: 34.44 kB / 425.3 MB, free: 40.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 3.095e-06/0.2519, allocations: 0 / 425.3 MB, free: 40.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.003425/0.2553, allocations: 1.247 MB / 426.5 MB, free: 39.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.2554, allocations: 109 kB / 426.6 MB, free: 39.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.2556, allocations: 224.4 kB / 426.8 MB, free: 39.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.06e-05/0.2556, allocations: 35.3 kB / 426.9 MB, free: 39.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/0.2557, allocations: 160.6 kB / 427 MB, free: 39.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.821e-05/0.2557, allocations: 104.2 kB / 427.1 MB, free: 39.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/0.2558, allocations: 6.875 kB / 427.1 MB, free: 39.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.285e-05/0.2558, allocations: 335.3 kB / 427.5 MB, free: 39.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/0.2561, allocations: 203.6 kB / 427.7 MB, free: 39.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002745/0.2564, allocations: 251.5 kB / 427.9 MB, free: 39.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003197/0.2567, allocations: 227.1 kB / 428.1 MB, free: 39.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2567, allocations: 0 / 428.1 MB, free: 39.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001769/0.2585, allocations: 0.8485 MB / 429 MB, free: 39.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.2585, allocations: 3.031 kB / 429 MB, free: 39.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.2585, allocations: 3.094 kB / 429 MB, free: 39.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001738/0.2603, allocations: 448.9 kB / 429.4 MB, free: 39.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.2605, allocations: 71.8 kB / 429.5 MB, free: 39.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003785/0.2643, allocations: 3.829 MB / 433.3 MB, free: 36.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/0.2646, allocations: 38.69 kB / 433.4 MB, free: 36.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.2646, allocations: 15.66 kB / 433.4 MB, free: 36.52 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.0001364/0.2648, allocations: 154.7 kB / 433.5 MB, free: 36.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.974e-05/0.2648, allocations: 21.59 kB / 433.5 MB, free: 36.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001882/0.2667, allocations: 0.7874 MB / 434.3 MB, free: 36.29 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.2667, allocations: 6.797 kB / 434.3 MB, free: 36.29 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.2667, allocations: 0 / 434.3 MB, free: 36.29 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.2667, allocations: 5.75 kB / 434.3 MB, free: 36.29 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003635/0.2671, allocations: 441.7 kB / 434.8 MB, free: 36.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.2671, allocations: 0.5625 kB / 434.8 MB, free: 36.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.2673, allocations: 41.28 kB / 434.8 MB, free: 36.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001629/0.2689, allocations: 447 kB / 435.3 MB, free: 36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.2689, allocations: 8.531 kB / 435.3 MB, free: 36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003473/0.2724, allocations: 3.827 MB / 439.1 MB, free: 32.74 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2724, allocations: 3.938 kB / 439.1 MB, free: 32.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.274, allocations: 0.8121 MB / 439.9 MB, free: 32.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.638e-05/0.2741, allocations: 105.4 kB / 440 MB, free: 32.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.918e-05/0.2741, allocations: 4 kB / 440 MB, free: 32.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000229/0.2744, allocations: 16.47 kB / 440 MB, free: 32.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.2744, allocations: 27.12 kB / 440.1 MB, free: 32.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/0.2745, allocations: 10.38 kB / 440.1 MB, free: 32.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.148e-05/0.2746, allocations: 163.7 kB / 440.2 MB, free: 32.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2746, allocations: 0 / 440.2 MB, free: 32.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004425/0.275, allocations: 136.1 kB / 440.4 MB, free: 32.08 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.00205/0.2771, allocations: 1.617 MB / 442 MB, free: 31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001423/0.2785, allocations: 0.8041 MB / 442.8 MB, free: 30.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2785, allocations: 3.219 kB / 442.8 MB, free: 30.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009976/0.2795, allocations: 0.5464 MB / 443.3 MB, free: 30.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.2798, allocations: 22.02 kB / 443.3 MB, free: 30.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003237/0.2831, allocations: 2.228 MB / 445.6 MB, free: 29.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001634/0.2832, allocations: 0.7699 MB / 446.3 MB, free: 28.32 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001284/0.2834, allocations: 38.11 kB / 446.4 MB, free: 28.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001128/0.2835, allocations: 96.69 kB / 446.5 MB, free: 28.25 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2835, allocations: 0 / 446.5 MB, free: 28.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01902/0.3025, allocations: 8.744 MB / 455.2 MB, free: 27.64 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001308/0.3027, allocations: 203.9 kB / 455.4 MB, free: 27.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/1.973, allocations: 0 / 455.4 MB, free: 27.41 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: