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-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.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.001238/0.001238, allocations: 104 kB / 16.03 MB, free: 6.258 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.001374/0.001374, allocations: 195 kB / 16.95 MB, free: 6.109 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.293/1.293, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.0383/0.0383, allocations: 8.1 MB / 298.9 MB, free: 6.891 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 67.91 kB / 361.3 MB, free: 8.395 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1651, allocations: 51.52 MB / 412.9 MB, free: 25.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork): time 0.002749/0.1679, allocations: 3.347 MB / 416.2 MB, free: 22.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.1694, allocations: 1.841 MB / 418 MB, free: 20.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.1695, allocations: 12 kB / 418.1 MB, free: 20.53 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.1699, allocations: 167.2 kB / 418.2 MB, free: 20.37 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004448/0.1703, allocations: 286.4 kB / 418.5 MB, free: 20.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.1718, allocations: 1.202 MB / 419.7 MB, free: 18.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004128/0.1723, allocations: 0.657 MB / 420.4 MB, free: 18.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002197/0.1725, allocations: 215 kB / 420.6 MB, free: 18.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.1726, allocations: 274.9 kB / 420.8 MB, free: 17.74 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.1729, allocations: 350.5 kB / 421.2 MB, free: 17.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.351e-05/0.173, allocations: 55.98 kB / 421.2 MB, free: 17.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003173/0.1733, allocations: 287.8 kB / 421.5 MB, free: 17.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.307e-05/0.1734, allocations: 135.5 kB / 421.6 MB, free: 16.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001575/0.1735, allocations: 318.4 kB / 422 MB, free: 16.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004943/0.174, allocations: 0.81 MB / 422.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.174, allocations: 0 / 422.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.174, allocations: 0 / 422.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.174, allocations: 3.938 kB / 422.8 MB, free: 15.8 MB / 302.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.006049/0.1801, allocations: 1.872 MB / 424.6 MB, free: 13.87 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.1801, allocations: 15.89 kB / 424.7 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.06e-05/0.1802, allocations: 90.7 kB / 424.7 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.1803, allocations: 68.19 kB / 424.8 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.1807, allocations: 430 kB / 425.2 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.1807, allocations: 37.38 kB / 425.3 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.6e-05/0.1808, allocations: 52.38 kB / 425.3 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008158/0.1816, allocations: 0.7181 MB / 426 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.1817, allocations: 3.938 kB / 426 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.394e-05/0.1817, allocations: 20 kB / 426.1 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.1817, allocations: 16 kB / 426.1 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007048/0.1824, allocations: 0.656 MB / 426.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002586/0.185, allocations: 2.86 MB / 429.6 MB, free: 8.574 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009987/0.186, allocations: 1.087 MB / 430.7 MB, free: 7.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004541/0.1865, allocations: 486.7 kB / 431.2 MB, free: 6.953 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.732e-05/0.1866, allocations: 20.62 kB / 431.2 MB, free: 6.934 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.1866, allocations: 39.22 kB / 431.2 MB, free: 6.883 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 1.623e-06/0.1866, allocations: 8 kB / 431.2 MB, free: 6.875 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.009983/0.1966, allocations: 3.21 MB / 434.4 MB, free: 3.637 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.1967, allocations: 111.5 kB / 434.5 MB, free: 3.504 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.1969, allocations: 385.5 kB / 434.9 MB, free: 3.117 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.873e-05/0.197, allocations: 45.7 kB / 435 MB, free: 3.066 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.002e-05/0.1971, allocations: 209.3 kB / 435.2 MB, free: 2.859 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.1972, allocations: 248.3 kB / 435.4 MB, free: 2.613 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002051/0.1974, allocations: 154.6 kB / 435.6 MB, free: 2.457 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.297e-05/0.1975, allocations: 374.6 kB / 435.9 MB, free: 2.082 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004929/0.198, allocations: 457.9 kB / 436.4 MB, free: 1.637 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005235/0.1985, allocations: 0.5287 MB / 436.9 MB, free: 1.098 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.1995, allocations: 1.021 MB / 437.9 MB, free: 80 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1995, allocations: 0 / 437.9 MB, free: 80 kB / 302.1 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.005014/0.2046, allocations: 2.019 MB / 439.9 MB, free: 14.04 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.2046, allocations: 8 kB / 439.9 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.2046, allocations: 0 / 439.9 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005456/0.2101, allocations: 1.532 MB / 441.5 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004434/0.2105, allocations: 127.8 kB / 441.6 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01029/0.2208, allocations: 6.294 MB / 447.9 MB, free: 5.945 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005114/0.2213, allocations: 79.28 kB / 448 MB, free: 5.867 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.106e-05/0.2214, allocations: 27.98 kB / 448 MB, free: 5.84 MB / 318.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.00024/0.2217, allocations: 193.7 kB / 448.2 MB, free: 5.641 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.2218, allocations: 63.33 kB / 448.3 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005118/0.2269, allocations: 1.983 MB / 450.2 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.2269, allocations: 8 kB / 450.2 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.2269, allocations: 4 kB / 450.2 MB, free: 3.566 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.2269, allocations: 3.984 kB / 450.3 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005704/0.2326, allocations: 2.832 MB / 453.1 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2327, allocations: 0 / 453.1 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000293/0.233, allocations: 95.89 kB / 453.2 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005311/0.2383, allocations: 1.297 MB / 454.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.646e-05/0.2383, allocations: 19.98 kB / 454.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01029/0.2486, allocations: 6.217 MB / 460.7 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2487, allocations: 0 / 460.7 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004761/0.2534, allocations: 1.944 MB / 462.7 MB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.894e-05/0.2535, allocations: 144.1 kB / 462.8 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.485e-05/0.2536, allocations: 16 kB / 462.8 MB, free: 6.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005231/0.2542, allocations: 47.95 kB / 462.9 MB, free: 6.703 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.2543, allocations: 56.92 kB / 462.9 MB, free: 6.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.398e-05/0.2544, allocations: 23.98 kB / 462.9 MB, free: 6.625 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002628/0.2547, allocations: 271.1 kB / 463.2 MB, free: 6.359 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2547, allocations: 0 / 463.2 MB, free: 6.359 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007129/0.2554, allocations: 279.8 kB / 463.5 MB, free: 6.086 MB / 334.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 (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.005527/0.2609, allocations: 2.524 MB / 466 MB, free: 3.535 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003852/0.2648, allocations: 1.715 MB / 467.7 MB, free: 1.812 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2648, allocations: 4 kB / 467.7 MB, free: 1.809 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002726/0.2675, allocations: 1.111 MB / 468.8 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005526/0.2681, allocations: 73.47 kB / 468.9 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01528/0.2834, allocations: 8.036 MB / 476.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003677/0.2838, allocations: 0.8816 MB / 477.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000245/0.284, allocations: 84.34 kB / 477.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.2843, allocations: 203.3 kB / 478.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2843, allocations: 0 / 478.1 MB, free: 7.297 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8105/1.095, allocations: 23.47 MB / 0.4898 GB, free: 16 kB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003039/1.095, allocations: 222.8 kB / 0.49 GB, free: 15.76 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.405/3.5, allocations: 0 / 0.49 GB, free: 15.76 MB / 382.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/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)