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.004098/0.004098, allocations: 89.23 kB / 15.91 MB, free: 6.305 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.001027/0.001027, allocations: 192.2 kB / 16.83 MB, free: 6.238 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.236/1.236, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1353/0.1353, allocations: 8.082 MB / 298.7 MB, free: 2.074 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 67.89 kB / 361.1 MB, free: 13.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07432/0.07544, allocations: 51.51 MB / 412.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork): time 0.002991/0.07846, allocations: 2.479 MB / 415.1 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0017/0.08017, allocations: 1.5 MB / 416.6 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.24e-05/0.08027, allocations: 4 kB / 416.6 MB, free: 6.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003677/0.08066, allocations: 135.4 kB / 416.8 MB, free: 5.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003111/0.08098, allocations: 163 kB / 416.9 MB, free: 5.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.08243, allocations: 0.9222 MB / 417.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000379/0.08282, allocations: 410 kB / 418.3 MB, free: 4.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.08303, allocations: 128.6 kB / 418.4 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.08317, allocations: 167.3 kB / 418.5 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.08342, allocations: 223 kB / 418.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.674e-05/0.08348, allocations: 24 kB / 418.8 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002895/0.08377, allocations: 195.8 kB / 419 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.928e-05/0.08385, allocations: 79.61 kB / 419.1 MB, free: 3.645 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.08401, allocations: 191 kB / 419.2 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004785/0.0845, allocations: 0.5257 MB / 419.8 MB, free: 2.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.085e-06/0.08451, allocations: 0 / 419.8 MB, free: 2.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.08451, allocations: 0 / 419.8 MB, free: 2.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.08452, allocations: 0 / 419.8 MB, free: 2.93 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.003271/0.0878, allocations: 1.138 MB / 420.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.08784, allocations: 8.031 kB / 420.9 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.918e-05/0.08794, allocations: 71.38 kB / 421 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.035e-05/0.08803, allocations: 44.41 kB / 421 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003652/0.0884, allocations: 327.5 kB / 421.4 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.08843, allocations: 33.03 kB / 421.4 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.054e-05/0.08849, allocations: 28.38 kB / 421.4 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005982/0.08909, allocations: 422.5 kB / 421.8 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.08911, allocations: 7.938 kB / 421.8 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.68e-05/0.08915, allocations: 12 kB / 421.8 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.08916, allocations: 4 kB / 421.8 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005098/0.08968, allocations: 398.5 kB / 422.2 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/0.09149, allocations: 1.495 MB / 423.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009525/0.09246, allocations: 495.1 kB / 424.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003105/0.09278, allocations: 240.8 kB / 424.4 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.014e-05/0.09284, allocations: 23.86 kB / 424.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.09287, allocations: 34.56 kB / 424.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of pre-optimization done (n=44): time 1.502e-06/0.09288, allocations: 4 kB / 424.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.004091/0.09698, allocations: 1.506 MB / 426 MB, free: 12.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.09702, allocations: 55.41 kB / 426.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.09727, allocations: 270.4 kB / 426.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/0.09732, allocations: 37.7 kB / 426.4 MB, free: 11.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.952e-05/0.09742, allocations: 168.8 kB / 426.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.955e-05/0.09752, allocations: 157.7 kB / 426.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001337/0.09766, allocations: 90.23 kB / 426.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.761e-05/0.09777, allocations: 342.8 kB / 427.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/0.09808, allocations: 209.1 kB / 427.3 MB, free: 11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003045/0.09839, allocations: 221 kB / 427.5 MB, free: 10.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006598/0.09906, allocations: 491.5 kB / 428 MB, free: 10.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.09907, allocations: 0 / 428 MB, free: 10.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001977/0.101, allocations: 0.8911 MB / 428.9 MB, free: 9.402 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.1011, allocations: 4 kB / 428.9 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1011, allocations: 0 / 428.9 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001686/0.1028, allocations: 398.1 kB / 429.3 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.103, allocations: 67.91 kB / 429.4 MB, free: 8.934 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005461/0.1085, allocations: 5.481 MB / 434.8 MB, free: 3.059 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.1088, allocations: 35.59 kB / 434.9 MB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/0.1088, allocations: 16.17 kB / 434.9 MB, free: 3.008 MB / 366.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.0001585/0.109, allocations: 161.8 kB / 435.1 MB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.341e-05/0.109, allocations: 31.62 kB / 435.1 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002089/0.1111, allocations: 0.9077 MB / 436 MB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.1112, allocations: 11.94 kB / 436 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.1112, allocations: 0 / 436 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.1112, allocations: 7.984 kB / 436 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004755/0.1117, allocations: 0.5131 MB / 436.5 MB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.1117, allocations: 3.984 kB / 436.5 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.1118, allocations: 55.92 kB / 436.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001582/0.1134, allocations: 394.1 kB / 437 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/0.1135, allocations: 8 kB / 437 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1327/0.2462, allocations: 5.416 MB / 442.4 MB, free: 53.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2463, allocations: 0 / 442.4 MB, free: 53.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.2481, allocations: 0.9415 MB / 443.3 MB, free: 53.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.912e-05/0.2482, allocations: 118.7 kB / 443.4 MB, free: 53.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.88e-05/0.2483, allocations: 8.109 kB / 443.5 MB, free: 53.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003124/0.2486, allocations: 34.23 kB / 443.5 MB, free: 53.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.279e-05/0.2487, allocations: 40.14 kB / 443.5 MB, free: 53.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.358e-05/0.2487, allocations: 19.44 kB / 443.5 MB, free: 53.22 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001612/0.2489, allocations: 183.6 kB / 443.7 MB, free: 53.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2489, allocations: 0 / 443.7 MB, free: 53.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005146/0.2494, allocations: 166.4 kB / 443.9 MB, free: 53.14 MB / 366.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.002337/0.2518, allocations: 1.813 MB / 445.7 MB, free: 52.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001496/0.2533, allocations: 0.983 MB / 446.7 MB, free: 51.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2533, allocations: 3.125 kB / 446.7 MB, free: 51.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.2543, allocations: 0.7259 MB / 447.4 MB, free: 51.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.2547, allocations: 53.05 kB / 447.5 MB, free: 51.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005876/0.2606, allocations: 4.516 MB / 452 MB, free: 48.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001738/0.2608, allocations: 0.8085 MB / 452.8 MB, free: 48.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001469/0.261, allocations: 43.62 kB / 452.8 MB, free: 48.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.2611, allocations: 120.7 kB / 453 MB, free: 47.98 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2611, allocations: 2.25 kB / 453 MB, free: 47.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4754/0.7365, allocations: 12.87 MB / 465.8 MB, free: 47.05 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/0.7367, allocations: 235.3 kB / 466 MB, free: 46.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/2.581, allocations: 0 / 466 MB, free: 46.8 MB / 366.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/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)