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-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.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.001076/0.001076, allocations: 97.25 kB / 16.06 MB, free: 40 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.001516/0.001516, allocations: 182 kB / 16.96 MB, free: 6.895 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.341/1.341, allocations: 223.3 MB / 241 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1434/0.1434, allocations: 8.096 MB / 300.2 MB, free: 2.965 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000302/0.0003021, allocations: 12 kB / 363.6 MB, free: 12.83 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09399/0.09431, allocations: 52.5 MB / 416.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses): time 0.003361/0.0977, allocations: 3.308 MB / 419.4 MB, free: 4.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002657/0.1004, allocations: 1.804 MB / 421.2 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003602/0.1008, allocations: 12 kB / 421.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000534/0.1013, allocations: 171.2 kB / 421.4 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008597/0.1022, allocations: 298.3 kB / 421.7 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002175/0.1044, allocations: 1.234 MB / 422.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008042/0.1052, allocations: 0.6764 MB / 423.6 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003312/0.1055, allocations: 210.3 kB / 423.8 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003346/0.1059, allocations: 262.9 kB / 424.1 MB, free: 292 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1617/0.2676, allocations: 337 kB / 424.4 MB, free: 36.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002187/0.2678, allocations: 33.06 kB / 424.4 MB, free: 36.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006685/0.2685, allocations: 260.7 kB / 424.7 MB, free: 36.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.727e-05/0.2686, allocations: 113.9 kB / 424.8 MB, free: 36.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002854/0.2689, allocations: 339.6 kB / 425.1 MB, free: 35.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007917/0.2697, allocations: 0.8263 MB / 425.9 MB, free: 35.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2697, allocations: 1.969 kB / 426 MB, free: 35.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2697, allocations: 0 / 426 MB, free: 35.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.2697, allocations: 0 / 426 MB, free: 35.89 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.0064/0.2762, allocations: 1.81 MB / 427.8 MB, free: 35.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.2762, allocations: 13.53 kB / 427.8 MB, free: 35.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001197/0.2763, allocations: 91.27 kB / 427.9 MB, free: 35.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.2765, allocations: 79.09 kB / 427.9 MB, free: 35.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004594/0.2769, allocations: 436.7 kB / 428.4 MB, free: 34.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/0.277, allocations: 43.72 kB / 428.4 MB, free: 34.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-05/0.2771, allocations: 56.62 kB / 428.5 MB, free: 34.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009892/0.2781, allocations: 0.7637 MB / 429.2 MB, free: 34.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.2781, allocations: 4.969 kB / 429.2 MB, free: 34.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.118e-05/0.2781, allocations: 23.59 kB / 429.3 MB, free: 34.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.2782, allocations: 13.09 kB / 429.3 MB, free: 34.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008543/0.279, allocations: 0.6787 MB / 429.9 MB, free: 34.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003223/0.2823, allocations: 2.981 MB / 432.9 MB, free: 33.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.2834, allocations: 1.298 MB / 434.2 MB, free: 32.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005433/0.284, allocations: 475.7 kB / 434.7 MB, free: 32.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.956e-05/0.2841, allocations: 16.5 kB / 434.7 MB, free: 32.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.2841, allocations: 53.81 kB / 434.8 MB, free: 32.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.475e-06/0.2841, allocations: 0 / 434.8 MB, free: 32.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.01294/0.297, allocations: 3.436 MB / 438.2 MB, free: 32.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.2971, allocations: 113.2 kB / 438.3 MB, free: 32.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003979/0.2976, allocations: 384.6 kB / 438.7 MB, free: 32.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.942e-05/0.2977, allocations: 42.7 kB / 438.7 MB, free: 32.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.2978, allocations: 229 kB / 438.9 MB, free: 32.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.298, allocations: 241.6 kB / 439.2 MB, free: 31.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.2981, allocations: 81.47 kB / 439.3 MB, free: 31.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.2982, allocations: 371.1 kB / 439.6 MB, free: 31.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000605/0.2988, allocations: 446.7 kB / 440.1 MB, free: 31.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005934/0.2994, allocations: 0.5058 MB / 440.6 MB, free: 31.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.3006, allocations: 0.9845 MB / 441.6 MB, free: 30.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3006, allocations: 0 / 441.6 MB, free: 30.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.004744/0.3053, allocations: 1.977 MB / 443.5 MB, free: 29.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.3054, allocations: 5.938 kB / 443.5 MB, free: 29.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3054, allocations: 0 / 443.5 MB, free: 29.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005237/0.3106, allocations: 1.533 MB / 445.1 MB, free: 29.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004985/0.3111, allocations: 127.6 kB / 445.2 MB, free: 29.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009132/0.3203, allocations: 5.455 MB / 450.6 MB, free: 26.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006455/0.321, allocations: 74.5 kB / 450.7 MB, free: 26.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.916e-05/0.321, allocations: 28 kB / 450.7 MB, free: 26.32 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(16,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002511/0.3213, allocations: 193.9 kB / 450.9 MB, free: 26.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.828e-05/0.3214, allocations: 56.16 kB / 451 MB, free: 26.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004808/0.3262, allocations: 1.922 MB / 452.9 MB, free: 25.4 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.3262, allocations: 12.73 kB / 452.9 MB, free: 25.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.3262, allocations: 3.938 kB / 452.9 MB, free: 25.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.3263, allocations: 3.516 kB / 452.9 MB, free: 25.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005359/0.3316, allocations: 2.766 MB / 455.7 MB, free: 24.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.3316, allocations: 3.125 kB / 455.7 MB, free: 24.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002898/0.3319, allocations: 93.08 kB / 455.8 MB, free: 24.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004977/0.3369, allocations: 1.297 MB / 457.1 MB, free: 23.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.814e-05/0.337, allocations: 18.34 kB / 457.1 MB, free: 23.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008983/0.346, allocations: 5.343 MB / 462.5 MB, free: 20.67 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.346, allocations: 7.219 kB / 462.5 MB, free: 20.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004844/0.3509, allocations: 1.894 MB / 464.4 MB, free: 19.9 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.351, allocations: 141.7 kB / 464.5 MB, free: 19.76 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.375e-05/0.3511, allocations: 16.06 kB / 464.5 MB, free: 19.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00058/0.3517, allocations: 53.08 kB / 464.6 MB, free: 19.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/0.3519, allocations: 68.44 kB / 464.6 MB, free: 19.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.615e-05/0.352, allocations: 24.84 kB / 464.7 MB, free: 19.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002866/0.3523, allocations: 263.6 kB / 464.9 MB, free: 19.58 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3523, allocations: 0 / 464.9 MB, free: 19.58 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008891/0.3532, allocations: 298.3 kB / 465.2 MB, free: 19.53 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(16,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005271/0.3584, allocations: 2.473 MB / 467.7 MB, free: 18.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003841/0.3623, allocations: 1.602 MB / 469.3 MB, free: 17.53 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.3623, allocations: 1.312 kB / 469.3 MB, free: 17.53 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002732/0.3651, allocations: 1.056 MB / 470.3 MB, free: 17.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005629/0.3656, allocations: 69.11 kB / 470.4 MB, free: 17.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/0.381, allocations: 8.003 MB / 478.4 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.3815, allocations: 0.8918 MB / 479.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003048/0.3818, allocations: 74.94 kB / 479.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.3821, allocations: 214.5 kB / 479.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3821, allocations: 0 / 479.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03497/0.417, allocations: 21.33 MB / 0.4892 GB, free: 12.16 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.4173, allocations: 236.2 kB / 0.4894 GB, free: 11.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.019/2.437, allocations: 15.94 kB / 0.4894 GB, free: 11.89 MB / 366.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/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)