Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.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.MediumNetworks.Network,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.MediumNetworks.Network,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network",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.000878/0.0008778, allocations: 100.3 kB / 15.73 MB, free: 436 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.0008875/0.0008876, allocations: 180.5 kB / 16.62 MB, free: 6.562 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.234/1.234, allocations: 223.2 MB / 240.6 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1453/0.1453, allocations: 8.092 MB / 299.7 MB, free: 2.883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002887/0.0002887, allocations: 12 kB / 362.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08681/0.08712, allocations: 52.51 MB / 415.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.00289/0.09003, allocations: 2.942 MB / 418.3 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002318/0.09237, allocations: 1.883 MB / 420.2 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.09253, allocations: 12 kB / 420.2 MB, free: 3.781 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.09287, allocations: 151.1 kB / 420.3 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005858/0.09347, allocations: 374.9 kB / 420.7 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.09528, allocations: 1.07 MB / 421.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006515/0.09594, allocations: 0.5495 MB / 422.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002773/0.09623, allocations: 194 kB / 422.5 MB, free: 1.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002355/0.09647, allocations: 282.9 kB / 422.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004073/0.09689, allocations: 358.6 kB / 423.2 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.359e-05/0.09696, allocations: 36 kB / 423.2 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003927/0.09736, allocations: 235.8 kB / 423.4 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.09747, allocations: 123.5 kB / 423.5 MB, free: 440 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.09759, allocations: 149.3 kB / 423.7 MB, free: 284 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1456/0.2432, allocations: 0.6501 MB / 424.3 MB, free: 35.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.2432, allocations: 0 / 424.3 MB, free: 35.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2432, allocations: 5.312 kB / 424.3 MB, free: 35.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.2433, 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.007225/0.2505, allocations: 2.029 MB / 426.4 MB, free: 35.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.2505, allocations: 7.938 kB / 426.4 MB, free: 35.15 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001205/0.2507, allocations: 97.11 kB / 426.5 MB, free: 35.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.2508, allocations: 83.58 kB / 426.6 MB, free: 35.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005071/0.2513, allocations: 470.5 kB / 427 MB, free: 34.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/0.2513, allocations: 53.34 kB / 427.1 MB, free: 34.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.53e-05/0.2514, allocations: 57.47 kB / 427.1 MB, free: 34.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.2525, allocations: 0.8196 MB / 427.9 MB, free: 34.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.2525, allocations: 1 kB / 427.9 MB, free: 34.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.876e-05/0.2526, allocations: 22.94 kB / 428 MB, free: 34.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.2526, allocations: 18.7 kB / 428 MB, free: 34.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009339/0.2535, allocations: 0.7789 MB / 428.8 MB, free: 34.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003461/0.257, allocations: 3.374 MB / 432.1 MB, free: 33.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.2584, allocations: 1.357 MB / 433.5 MB, free: 32.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.504e-05/0.2585, allocations: 19.59 kB / 433.5 MB, free: 32.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.2585, allocations: 51 kB / 433.6 MB, free: 32.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=89): time 2.304e-06/0.2586, allocations: 0 / 433.6 MB, free: 32.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=89): time 0.01309/0.2717, allocations: 3.903 MB / 437.5 MB, free: 32.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.2717, allocations: 113.5 kB / 437.6 MB, free: 32.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004082/0.2721, allocations: 432.5 kB / 438 MB, free: 32.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.236e-05/0.2722, allocations: 47.17 kB / 438 MB, free: 32.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.2723, allocations: 239.7 kB / 438.3 MB, free: 31.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.2725, allocations: 300.5 kB / 438.6 MB, free: 31.74 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-05/0.2726, allocations: 21.22 kB / 438.6 MB, free: 31.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.711e-05/0.2726, allocations: 371 kB / 439 MB, free: 31.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006226/0.2733, allocations: 0.5361 MB / 439.5 MB, free: 31.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006673/0.2739, allocations: 0.6112 MB / 440.1 MB, free: 31.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006796/0.2746, allocations: 0.5888 MB / 440.7 MB, free: 31.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2746, allocations: 0 / 440.7 MB, free: 31.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00538/0.28, allocations: 2.382 MB / 443.1 MB, free: 30.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.28, allocations: 3.125 kB / 443.1 MB, free: 30.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.28, allocations: 3.031 kB / 443.1 MB, free: 30.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005978/0.286, allocations: 1.779 MB / 444.9 MB, free: 30.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005073/0.2866, allocations: 144.8 kB / 445 MB, free: 30.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01057/0.2971, allocations: 6.994 MB / 452 MB, free: 26.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006498/0.2978, allocations: 96.77 kB / 452.1 MB, free: 26.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.966e-05/0.2979, allocations: 34.16 kB / 452.1 MB, free: 26.07 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 (87): * Single equations (assignments): 86 * 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 {18 20} Notification: Performance of prepare postOptimizeDAE: time 0.0002784/0.2982, allocations: 201.8 kB / 452.3 MB, free: 25.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.2983, allocations: 62.22 kB / 452.4 MB, free: 25.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005579/0.3039, allocations: 2.331 MB / 454.7 MB, free: 24.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/0.3039, allocations: 9.094 kB / 454.7 MB, free: 24.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3039, allocations: 0 / 454.7 MB, free: 24.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.697e-05/0.304, allocations: 7.453 kB / 454.7 MB, free: 24.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006341/0.3103, allocations: 3.324 MB / 458 MB, free: 23.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/0.3103, allocations: 2.938 kB / 458.1 MB, free: 23.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003502/0.3107, allocations: 107.9 kB / 458.2 MB, free: 23.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005865/0.3166, allocations: 1.515 MB / 459.7 MB, free: 23.26 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.942e-05/0.3166, allocations: 18.94 kB / 459.7 MB, free: 23.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01124/0.3279, allocations: 6.879 MB / 466.6 MB, free: 19.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3279, allocations: 1.219 kB / 466.6 MB, free: 19.1 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005571/0.3335, allocations: 2.264 MB / 468.8 MB, free: 18.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.3337, allocations: 156.9 kB / 469 MB, free: 18.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.3338, allocations: 25.27 kB / 469 MB, free: 18.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006297/0.3344, allocations: 58.48 kB / 469.1 MB, free: 18.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002153/0.3347, allocations: 79.09 kB / 469.1 MB, free: 18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.577e-05/0.3347, allocations: 30.11 kB / 469.2 MB, free: 18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003285/0.3351, allocations: 294.9 kB / 469.5 MB, free: 17.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3351, allocations: 0 / 469.5 MB, free: 17.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009269/0.336, allocations: 342.2 kB / 469.8 MB, free: 17.8 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 (66): * Single equations (assignments): 65 * 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 {18 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0059/0.3419, allocations: 2.852 MB / 472.7 MB, free: 16.35 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004156/0.3461, allocations: 1.925 MB / 474.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.3461, allocations: 1.125 kB / 474.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00314/0.3493, allocations: 1.253 MB / 475.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004619/0.3497, allocations: 66.45 kB / 475.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/0.3522, allocations: 1.952 MB / 477.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.3525, allocations: 0.9384 MB / 478.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002991/0.3529, allocations: 93.55 kB / 478.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002677/0.3531, allocations: 244.5 kB / 479.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3531, allocations: 0 / 479.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03891/0.3921, allocations: 25.63 MB / 0.4929 GB, free: 9.027 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/0.3923, allocations: 191.5 kB / 0.4931 GB, free: 8.793 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.966/2.358, allocations: 2.078 kB / 0.4931 GB, free: 8.793 MB / 366.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network.fmu > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1) Environment - environmentSimulation: