Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.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.MVLVNetworkWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses",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.0007246/0.0007247, allocations: 96.86 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.0007888/0.0007889, allocations: 171.5 kB / 16.62 MB, free: 6.434 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.251/1.251, allocations: 223.3 MB / 240.6 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1485/0.1485, allocations: 8.093 MB / 299.8 MB, free: 2.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003195, allocations: 8 kB / 363 MB, free: 13.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09244/0.09278, allocations: 52.52 MB / 415.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.003248/0.09608, allocations: 3.085 MB / 418.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002373/0.09847, allocations: 1.719 MB / 420.3 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.09867, allocations: 16 kB / 420.3 MB, free: 3.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003711/0.09905, allocations: 135.3 kB / 420.4 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005373/0.0996, allocations: 286.3 kB / 420.7 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.1014, allocations: 1.043 MB / 421.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006145/0.102, allocations: 0.6451 MB / 422.4 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000255/0.1022, allocations: 190 kB / 422.6 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.1024, allocations: 251 kB / 422.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003383/0.1028, allocations: 326.6 kB / 423.1 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.397e-05/0.1029, allocations: 32 kB / 423.2 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003936/0.1033, allocations: 263.7 kB / 423.4 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.219e-05/0.1033, allocations: 103.5 kB / 423.5 MB, free: 492 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.831e-05/0.1034, allocations: 145.3 kB / 423.7 MB, free: 340 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1751/0.2786, allocations: 0.6183 MB / 424.3 MB, free: 35.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2786, allocations: 0 / 424.3 MB, free: 35.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.2786, allocations: 3 kB / 424.3 MB, free: 35.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.283e-05/0.2786, allocations: 0 / 424.3 MB, free: 35.76 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.006146/0.2848, allocations: 1.816 MB / 426.1 MB, free: 35.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.2848, allocations: 12.98 kB / 426.1 MB, free: 35.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/0.285, allocations: 91.69 kB / 426.2 MB, free: 35.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.2851, allocations: 77.11 kB / 426.3 MB, free: 35.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004551/0.2856, allocations: 422.8 kB / 426.7 MB, free: 34.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.2856, allocations: 44.92 kB / 426.8 MB, free: 34.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.476e-05/0.2857, allocations: 57.31 kB / 426.8 MB, free: 34.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009499/0.2867, allocations: 0.7631 MB / 427.6 MB, free: 34.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.2867, allocations: 0 / 427.6 MB, free: 34.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.549e-05/0.2867, allocations: 22.09 kB / 427.6 MB, free: 34.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.2868, allocations: 16.48 kB / 427.6 MB, free: 34.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008255/0.2876, allocations: 0.6764 MB / 428.3 MB, free: 34.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002943/0.2905, allocations: 2.977 MB / 431.3 MB, free: 33.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.2917, allocations: 1.293 MB / 432.6 MB, free: 32.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000496/0.2922, allocations: 474.8 kB / 433 MB, free: 32.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.748e-05/0.2923, allocations: 16 kB / 433 MB, free: 32.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.2924, allocations: 52.78 kB / 433.1 MB, free: 32.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 1.974e-06/0.2924, allocations: 0 / 433.1 MB, free: 32.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.01092/0.3033, allocations: 3.412 MB / 436.5 MB, free: 32.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.3034, allocations: 119.2 kB / 436.6 MB, free: 32.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003673/0.3038, allocations: 382 kB / 437 MB, free: 32.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.426e-05/0.3039, allocations: 44.7 kB / 437 MB, free: 32.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.304, allocations: 216.8 kB / 437.2 MB, free: 32.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.3041, allocations: 251.5 kB / 437.5 MB, free: 31.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-05/0.3042, allocations: 19.22 kB / 437.5 MB, free: 31.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.402e-05/0.3042, allocations: 365.1 kB / 437.9 MB, free: 31.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005186/0.3048, allocations: 448.2 kB / 438.3 MB, free: 31.53 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000542/0.3053, allocations: 0.4994 MB / 438.8 MB, free: 31.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006025/0.3059, allocations: 488 kB / 439.3 MB, free: 31.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.3059, allocations: 2.156 kB / 439.3 MB, free: 31.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.004218/0.3102, allocations: 1.97 MB / 441.2 MB, free: 31.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3102, allocations: 6.125 kB / 441.3 MB, free: 31.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.3102, allocations: 0 / 441.3 MB, free: 31.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004567/0.3148, allocations: 1.539 MB / 442.8 MB, free: 31.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004611/0.3152, allocations: 129.3 kB / 442.9 MB, free: 31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008266/0.3235, allocations: 5.425 MB / 448.3 MB, free: 27.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005828/0.3241, allocations: 73.98 kB / 448.4 MB, free: 27.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.814e-05/0.3242, allocations: 26.41 kB / 448.4 MB, free: 27.64 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.0002495/0.3245, allocations: 203.9 kB / 448.6 MB, free: 27.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.849e-05/0.3245, allocations: 53.19 kB / 448.7 MB, free: 27.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004232/0.3288, allocations: 1.921 MB / 450.6 MB, free: 26.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.3288, allocations: 10.08 kB / 450.6 MB, free: 26.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.3288, allocations: 4 kB / 450.6 MB, free: 26.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.3288, allocations: 6.734 kB / 450.6 MB, free: 26.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00475/0.3336, allocations: 2.747 MB / 453.4 MB, free: 25.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.3336, allocations: 0 / 453.4 MB, free: 25.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.3339, allocations: 88.67 kB / 453.5 MB, free: 25.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004304/0.3382, allocations: 1.311 MB / 454.8 MB, free: 25.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.689e-05/0.3383, allocations: 11.22 kB / 454.8 MB, free: 25.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007935/0.3462, allocations: 5.344 MB / 460.1 MB, free: 21.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3462, allocations: 4.906 kB / 460.1 MB, free: 21.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004191/0.3504, allocations: 1.886 MB / 462 MB, free: 21.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.3505, allocations: 141.2 kB / 462.2 MB, free: 21.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.375e-05/0.3507, allocations: 16.41 kB / 462.2 MB, free: 21.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005/0.3512, allocations: 52.42 kB / 462.2 MB, free: 21.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.3513, allocations: 60.86 kB / 462.3 MB, free: 21.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.035e-05/0.3514, allocations: 26.53 kB / 462.3 MB, free: 21.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002697/0.3516, allocations: 255 kB / 462.6 MB, free: 20.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3516, allocations: 1.125 kB / 462.6 MB, free: 20.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008502/0.3525, allocations: 290.8 kB / 462.8 MB, free: 20.86 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 (55): * Single equations (assignments): 54 * 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.004511/0.357, allocations: 2.481 MB / 465.3 MB, free: 19.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003315/0.3604, allocations: 1.592 MB / 466.9 MB, free: 18.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.3604, allocations: 1.094 kB / 466.9 MB, free: 18.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002332/0.3627, allocations: 1.06 MB / 468 MB, free: 18.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005005/0.3632, allocations: 67.39 kB / 468 MB, free: 18.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008551/0.3718, allocations: 4.836 MB / 472.9 MB, free: 16.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.3722, allocations: 0.8911 MB / 473.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002861/0.3725, allocations: 82.7 kB / 473.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/0.3727, allocations: 214.1 kB / 474.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3727, allocations: 0 / 474.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03489/0.4076, allocations: 21.09 MB / 495.2 MB, free: 2.543 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001161/0.4077, allocations: 212.6 kB / 495.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.862/2.27, allocations: 0 / 495.4 MB, free: 2.309 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetworkWithBuses.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe 2>&1) Environment - environmentSimulation: