Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.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.MVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork",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.0009598/0.0009598, allocations: 96.52 kB / 15.73 MB, free: 440 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.0009713/0.0009713, allocations: 173.5 kB / 16.61 MB, free: 6.426 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.247/1.247, allocations: 223.2 MB / 240.5 MB, free: 5.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1562/0.1562, allocations: 8.083 MB / 299.7 MB, free: 2.875 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002824/0.0002824, allocations: 8 kB / 362.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08538/0.08568, allocations: 52.51 MB / 415.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.002446/0.08816, allocations: 2.523 MB / 417.9 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001953/0.09013, allocations: 1.801 MB / 419.7 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.09027, allocations: 8 kB / 419.7 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002845/0.09056, allocations: 135.2 kB / 419.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004736/0.09104, allocations: 315 kB / 420.1 MB, free: 3.883 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001673/0.09272, allocations: 1.043 MB / 421.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005444/0.09328, allocations: 467 kB / 421.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002295/0.09352, allocations: 173 kB / 421.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.09372, allocations: 231.2 kB / 422 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000335/0.09406, allocations: 298.8 kB / 422.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.247e-05/0.09412, allocations: 28 kB / 422.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003697/0.09449, allocations: 227.8 kB / 422.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.143e-05/0.09459, allocations: 103.6 kB / 422.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.39e-05/0.09469, allocations: 129.4 kB / 422.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005405/0.09524, allocations: 0.5727 MB / 423.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.09525, allocations: 0 / 423.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.09526, allocations: 0 / 423.4 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.09527, allocations: 0 / 423.4 MB, free: 0.6211 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.1575/0.2528, allocations: 1.793 MB / 425.2 MB, free: 40.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.2528, allocations: 7.969 kB / 425.2 MB, free: 40.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000152/0.253, allocations: 84.81 kB / 425.2 MB, free: 40.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.2531, allocations: 73.33 kB / 425.3 MB, free: 40.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004857/0.2536, allocations: 421.6 kB / 425.7 MB, free: 40.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.2536, allocations: 35.84 kB / 425.8 MB, free: 40.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.249e-05/0.2537, allocations: 52.03 kB / 425.8 MB, free: 40.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008674/0.2546, allocations: 0.7091 MB / 426.5 MB, free: 40.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2546, allocations: 0.75 kB / 426.5 MB, free: 40.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.724e-05/0.2547, allocations: 20.19 kB / 426.5 MB, free: 40.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.2547, allocations: 13.02 kB / 426.6 MB, free: 40.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007729/0.2555, allocations: 0.6578 MB / 427.2 MB, free: 40.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002887/0.2584, allocations: 2.886 MB / 430.1 MB, free: 38.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.2596, allocations: 1.086 MB / 431.2 MB, free: 38.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.197e-05/0.2597, allocations: 20.19 kB / 431.2 MB, free: 38.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.2597, allocations: 44.59 kB / 431.3 MB, free: 38.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 1.884e-06/0.2597, allocations: 0 / 431.3 MB, free: 38.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.0104/0.2701, allocations: 3.161 MB / 434.4 MB, free: 37.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.2702, allocations: 120.4 kB / 434.5 MB, free: 37.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003371/0.2705, allocations: 382.2 kB / 434.9 MB, free: 37.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.735e-05/0.2706, allocations: 42.98 kB / 434.9 MB, free: 37.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.594e-05/0.2707, allocations: 208.8 kB / 435.2 MB, free: 37.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.2708, allocations: 247.1 kB / 435.4 MB, free: 37.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.763e-05/0.2709, allocations: 22.97 kB / 435.4 MB, free: 37.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.31e-05/0.271, allocations: 360.5 kB / 435.8 MB, free: 36.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005243/0.2715, allocations: 460.1 kB / 436.2 MB, free: 36.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005593/0.2721, allocations: 0.5183 MB / 436.7 MB, free: 36.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005846/0.2727, allocations: 0.4958 MB / 437.2 MB, free: 36.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.2727, allocations: 0 / 437.2 MB, free: 36.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.004528/0.2772, allocations: 2.005 MB / 439.2 MB, free: 35.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.2772, allocations: 6.375 kB / 439.2 MB, free: 35.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2772, allocations: 0 / 439.2 MB, free: 35.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005082/0.2823, allocations: 1.538 MB / 440.8 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004638/0.2828, allocations: 125.9 kB / 440.9 MB, free: 35.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009065/0.2919, allocations: 5.971 MB / 446.9 MB, free: 31.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005817/0.2925, allocations: 88.94 kB / 447 MB, free: 31.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.757e-05/0.2926, allocations: 26.14 kB / 447 MB, free: 31.4 MB / 350.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 (75): * Single equations (assignments): 74 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {16 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002314/0.2928, allocations: 195.9 kB / 447.2 MB, free: 31.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.413e-05/0.2929, allocations: 59.11 kB / 447.2 MB, free: 31.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004618/0.2975, allocations: 1.98 MB / 449.2 MB, free: 30.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.2975, allocations: 10.56 kB / 449.2 MB, free: 30.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.2975, allocations: 0 / 449.2 MB, free: 30.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.2976, allocations: 5.359 kB / 449.2 MB, free: 30.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005233/0.3028, allocations: 2.834 MB / 452.1 MB, free: 29.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.3028, allocations: 3.5 kB / 452.1 MB, free: 29.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003046/0.3031, allocations: 89.12 kB / 452.2 MB, free: 29.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005015/0.3082, allocations: 1.303 MB / 453.5 MB, free: 28.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.328e-05/0.3082, allocations: 18.22 kB / 453.5 MB, free: 28.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008928/0.3172, allocations: 5.883 MB / 459.4 MB, free: 25.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3172, allocations: 0 / 459.4 MB, free: 25.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004565/0.3218, allocations: 1.939 MB / 461.3 MB, free: 24.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.3219, allocations: 145.6 kB / 461.4 MB, free: 24.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.08e-05/0.322, allocations: 16.31 kB / 461.5 MB, free: 24.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005478/0.3226, allocations: 52 kB / 461.5 MB, free: 24.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.3227, allocations: 66.17 kB / 461.6 MB, free: 24.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.796e-05/0.3228, allocations: 27.84 kB / 461.6 MB, free: 24.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002699/0.3231, allocations: 262.3 kB / 461.9 MB, free: 24.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3231, allocations: 0 / 461.9 MB, free: 24.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000847/0.3239, allocations: 284.7 kB / 462.1 MB, free: 24.05 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 (56): * Single equations (assignments): 55 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {16 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.004982/0.3289, allocations: 2.519 MB / 464.6 MB, free: 22.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003519/0.3325, allocations: 1.634 MB / 466.3 MB, free: 21.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.3325, allocations: 5.406 kB / 466.3 MB, free: 21.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002691/0.3352, allocations: 1.067 MB / 467.4 MB, free: 21.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004241/0.3356, allocations: 46.72 kB / 467.4 MB, free: 21.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.3377, allocations: 1.688 MB / 469.1 MB, free: 20.37 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.338, allocations: 0.8945 MB / 470 MB, free: 19.65 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002626/0.3382, allocations: 83.45 kB / 470.1 MB, free: 19.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.3385, allocations: 197.2 kB / 470.3 MB, free: 19.48 MB / 350.1 MB Notification: Performance of SimCode: time 7.32e-07/0.3385, allocations: 0 / 470.3 MB, free: 19.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03516/0.3736, allocations: 21.37 MB / 491.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001333/0.3738, allocations: 201.2 kB / 491.8 MB, free: 8.324 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/2.264, allocations: 0 / 491.8 MB, free: 8.324 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe 2>&1) Environment - environmentSimulation: