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/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.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.0009576/0.0009577, allocations: 96.36 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.001321/0.001321, allocations: 179.3 kB / 16.61 MB, free: 6.406 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.256/1.256, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1396/0.1396, allocations: 8.083 MB / 299.7 MB, free: 2.922 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002687/0.0002687, allocations: 8 kB / 362.8 MB, free: 13.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08204/0.08232, allocations: 52.52 MB / 415.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.001956/0.08432, allocations: 1.837 MB / 417.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.08598, allocations: 1.439 MB / 418.6 MB, free: 5.336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.08609, allocations: 8 kB / 418.6 MB, free: 5.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002919/0.08639, allocations: 115.4 kB / 418.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003257/0.08673, allocations: 183.5 kB / 418.9 MB, free: 5.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.08805, allocations: 0.7592 MB / 419.7 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003588/0.08842, allocations: 303.3 kB / 420 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.08862, allocations: 118.7 kB / 420.1 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001405/0.08877, allocations: 143.4 kB / 420.3 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.08901, allocations: 195.2 kB / 420.4 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.492e-05/0.08906, allocations: 20 kB / 420.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002629/0.08933, allocations: 151.8 kB / 420.6 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.213e-05/0.0894, allocations: 67.67 kB / 420.7 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.922e-05/0.08949, allocations: 89.52 kB / 420.8 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004156/0.08991, allocations: 387.2 kB / 421.1 MB, free: 2.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.08992, allocations: 0 / 421.1 MB, free: 2.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.08993, allocations: 0 / 421.1 MB, free: 2.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.08994, allocations: 0 / 421.1 MB, free: 2.82 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.003316/0.09326, allocations: 1.08 MB / 422.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.09331, allocations: 8.031 kB / 422.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000112/0.09343, allocations: 75.14 kB / 422.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.9e-05/0.09351, allocations: 39.53 kB / 422.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003916/0.09391, allocations: 326.3 kB / 422.7 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.09394, allocations: 28.66 kB / 422.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.902e-05/0.094, allocations: 32 kB / 422.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005901/0.09459, allocations: 406 kB / 423.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.09461, allocations: 0 / 423.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.879e-05/0.09465, allocations: 19.98 kB / 423.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.09467, allocations: 11.95 kB / 423.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005289/0.0952, allocations: 394.4 kB / 423.5 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1403/0.2355, allocations: 1.504 MB / 425 MB, free: 40.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008689/0.2364, allocations: 491.6 kB / 425.5 MB, free: 40.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.441e-05/0.2364, allocations: 11 kB / 425.5 MB, free: 40.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.2365, allocations: 47.12 kB / 425.6 MB, free: 40.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.295e-06/0.2365, allocations: 0 / 425.6 MB, free: 40.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.003826/0.2403, allocations: 1.487 MB / 427.1 MB, free: 40.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.985e-05/0.2403, allocations: 57.22 kB / 427.1 MB, free: 40.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.2406, allocations: 266.4 kB / 427.4 MB, free: 40.03 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.2406, allocations: 35.55 kB / 427.4 MB, free: 40 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.909e-05/0.2407, allocations: 172.5 kB / 427.6 MB, free: 39.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.449e-05/0.2408, allocations: 149.5 kB / 427.7 MB, free: 39.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.672e-05/0.2408, allocations: 10.03 kB / 427.7 MB, free: 39.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.159e-05/0.2409, allocations: 341.1 kB / 428.1 MB, free: 39.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.2411, allocations: 213 kB / 428.3 MB, free: 39.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.2414, allocations: 215.5 kB / 428.5 MB, free: 39.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.2417, allocations: 234 kB / 428.7 MB, free: 39.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2417, allocations: 0 / 428.7 MB, free: 39.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001796/0.2435, allocations: 0.892 MB / 429.6 MB, free: 39.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.2435, allocations: 6.5 kB / 429.6 MB, free: 39.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2435, allocations: 0 / 429.6 MB, free: 39.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0016/0.2451, allocations: 388.8 kB / 430 MB, free: 39.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.2454, allocations: 68.3 kB / 430.1 MB, free: 39.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004983/0.2504, allocations: 5.576 MB / 435.6 MB, free: 35.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.2506, allocations: 40.7 kB / 435.7 MB, free: 35.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.2507, allocations: 15.14 kB / 435.7 MB, free: 35.41 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 (41): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 4,2 4,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001582/0.2509, allocations: 165 kB / 435.9 MB, free: 35.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.237e-05/0.2509, allocations: 31.69 kB / 435.9 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/0.2528, allocations: 0.9082 MB / 436.8 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.2528, allocations: 6.469 kB / 436.8 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.2528, allocations: 3.953 kB / 436.8 MB, free: 34.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2529, allocations: 4 kB / 436.8 MB, free: 34.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003952/0.2533, allocations: 0.5219 MB / 437.3 MB, free: 34.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.2533, allocations: 3.922 kB / 437.3 MB, free: 34.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.2534, allocations: 60.73 kB / 437.4 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001526/0.255, allocations: 384.5 kB / 437.8 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.255, allocations: 14.66 kB / 437.8 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004259/0.2593, allocations: 5.519 MB / 443.3 MB, free: 29.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2593, allocations: 0.9375 kB / 443.3 MB, free: 29.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/0.261, allocations: 0.932 MB / 444.2 MB, free: 29.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.2611, allocations: 116.8 kB / 444.3 MB, free: 29.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.735e-05/0.2611, allocations: 11 kB / 444.4 MB, free: 29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003235/0.2615, allocations: 37.09 kB / 444.4 MB, free: 28.99 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.232e-05/0.2616, allocations: 41.44 kB / 444.4 MB, free: 28.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.2616, allocations: 21.53 kB / 444.5 MB, free: 28.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001539/0.2617, allocations: 181.5 kB / 444.6 MB, free: 28.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2618, allocations: 3.125 kB / 444.6 MB, free: 28.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004799/0.2622, allocations: 170.1 kB / 444.8 MB, free: 28.84 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 (36): * Single equations (assignments): 33 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 4,2 4,2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.00227/0.2645, allocations: 1.802 MB / 446.6 MB, free: 27.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00143/0.266, allocations: 0.9745 MB / 447.6 MB, free: 27.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.266, allocations: 0 / 447.6 MB, free: 27.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.267, allocations: 0.7418 MB / 448.3 MB, free: 26.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.2673, allocations: 28.94 kB / 448.3 MB, free: 26.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.2684, allocations: 1.118 MB / 449.5 MB, free: 25.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001679/0.2686, allocations: 0.8121 MB / 450.3 MB, free: 25.1 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001422/0.2687, allocations: 49.31 kB / 450.3 MB, free: 25.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.2689, allocations: 121 kB / 450.4 MB, free: 24.99 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2689, allocations: 0 / 450.4 MB, free: 24.99 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02075/0.2896, allocations: 12.2 MB / 462.6 MB, free: 24.18 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001189/0.2898, allocations: 217.3 kB / 462.9 MB, free: 23.94 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/2.023, allocations: 3.062 kB / 462.9 MB, free: 23.94 MB / 350.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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_LVPartOfMVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe 2>&1) Environment - environmentSimulation: