Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.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.DoubleNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork",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.0008061/0.0008061, allocations: 84.19 kB / 15.75 MB, free: 416 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.0009075/0.0009074, allocations: 173.6 kB / 16.62 MB, free: 6.887 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.212/1.212, allocations: 223.2 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1626/0.1626, allocations: 8.085 MB / 299.8 MB, free: 2.832 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000287/0.0002871, allocations: 8 kB / 363 MB, free: 13.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09253/0.09284, allocations: 52.52 MB / 415.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.004639/0.09752, allocations: 5.012 MB / 420.5 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003139/0.1007, allocations: 2.217 MB / 422.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002695/0.101, allocations: 16 kB / 422.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003886/0.1014, allocations: 198.8 kB / 422.9 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008827/0.1023, allocations: 0.5204 MB / 423.4 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1578/0.2601, allocations: 1.173 MB / 424.6 MB, free: 34.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001381/0.2615, allocations: 1.175 MB / 425.8 MB, free: 34.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003982/0.2619, allocations: 320.4 kB / 426.1 MB, free: 34.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003178/0.2622, allocations: 483.8 kB / 426.6 MB, free: 34.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005599/0.2628, allocations: 0.6074 MB / 427.2 MB, free: 34.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.708e-05/0.2629, allocations: 58.78 kB / 427.2 MB, free: 34.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005559/0.2635, allocations: 283.1 kB / 427.5 MB, free: 34.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.2636, allocations: 201.6 kB / 427.7 MB, free: 34.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.2637, allocations: 230.8 kB / 427.9 MB, free: 34.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007607/0.2645, allocations: 1.017 MB / 428.9 MB, free: 34.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2645, allocations: 0 / 428.9 MB, free: 34.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.2645, allocations: 3.188 kB / 428.9 MB, free: 34.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.2645, allocations: 7.078 kB / 429 MB, free: 34.54 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.009673/0.2742, allocations: 2.987 MB / 431.9 MB, free: 33.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.2743, allocations: 9.562 kB / 431.9 MB, free: 33.73 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001814/0.2745, allocations: 136.4 kB / 432.1 MB, free: 33.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001976/0.2747, allocations: 134.7 kB / 432.2 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007237/0.2754, allocations: 0.6594 MB / 432.9 MB, free: 33.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.579e-05/0.2754, allocations: 70.03 kB / 432.9 MB, free: 33.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.2756, allocations: 96.84 kB / 433 MB, free: 33.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.2773, allocations: 1.334 MB / 434.4 MB, free: 33.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.2773, allocations: 3.375 kB / 434.4 MB, free: 33.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-05/0.2774, allocations: 52.08 kB / 434.4 MB, free: 33.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.2774, allocations: 22.09 kB / 434.4 MB, free: 33.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.279, allocations: 1.267 MB / 435.7 MB, free: 33.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004757/0.2837, allocations: 5.267 MB / 441 MB, free: 30.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002113/0.2859, allocations: 3.099 MB / 444.1 MB, free: 28.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009812/0.2868, allocations: 0.9736 MB / 445.1 MB, free: 28.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.287, allocations: 34.75 kB / 445.1 MB, free: 28.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.287, allocations: 57.86 kB / 445.1 MB, free: 28.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=147): time 2.474e-06/0.287, allocations: 3.938 kB / 445.1 MB, free: 28.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=147): time 0.02114/0.3082, allocations: 6.963 MB / 452.1 MB, free: 26.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.3082, allocations: 119.2 kB / 452.2 MB, free: 26.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000633/0.3089, allocations: 0.6346 MB / 452.9 MB, free: 26.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001153/0.309, allocations: 63.58 kB / 452.9 MB, free: 26.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.3092, allocations: 337.4 kB / 453.3 MB, free: 25.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002629/0.3094, allocations: 0.4904 MB / 453.7 MB, free: 25.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.579e-05/0.3095, allocations: 30.31 kB / 453.8 MB, free: 25.42 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.38e-05/0.3096, allocations: 410 kB / 454.2 MB, free: 25.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.3107, allocations: 0.849 MB / 455 MB, free: 24.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.3117, allocations: 0.9768 MB / 456 MB, free: 24.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.3129, allocations: 0.9408 MB / 456.9 MB, free: 23.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3129, allocations: 0 / 456.9 MB, free: 23.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.007665/0.3206, allocations: 3.802 MB / 460.7 MB, free: 22.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.3206, allocations: 11.7 kB / 460.8 MB, free: 22.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.3206, allocations: 0 / 460.8 MB, free: 22.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009592/0.3302, allocations: 4.03 MB / 464.8 MB, free: 21.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008427/0.3311, allocations: 229.1 kB / 465 MB, free: 21.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01771/0.3488, allocations: 10.41 MB / 475.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.3499, allocations: 135.5 kB / 475.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.35, allocations: 50.67 kB / 475.6 MB, free: 15.73 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 (135): * Single equations (assignments): 134 * 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 {32 32} Notification: Performance of prepare postOptimizeDAE: time 0.000445/0.3505, allocations: 269.8 kB / 475.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/0.3507, allocations: 112.5 kB / 476 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008895/0.3596, allocations: 3.778 MB / 479.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/0.3596, allocations: 16.88 kB / 479.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3596, allocations: 3.953 kB / 479.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.1e-05/0.3596, allocations: 12.11 kB / 479.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00986/0.3695, allocations: 5.307 MB / 485.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.3695, allocations: 0 / 485.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005319/0.3701, allocations: 181.6 kB / 485.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008266/0.3783, allocations: 2.74 MB / 488 MB, free: 9.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/0.3785, allocations: 39.94 kB / 488 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01577/0.3943, allocations: 10.2 MB / 498.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3943, allocations: 0 / 498.2 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00869/0.403, allocations: 3.652 MB / 0.4901 GB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003136/0.4033, allocations: 203.3 kB / 0.4903 GB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002013/0.4035, allocations: 32 kB / 0.4904 GB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009571/0.4045, allocations: 106.3 kB / 0.4905 GB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003057/0.4048, allocations: 132.8 kB / 0.4906 GB, free: 11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/0.4049, allocations: 44 kB / 0.4906 GB, free: 10.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006036/0.4055, allocations: 435 kB / 0.491 GB, free: 10.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4055, allocations: 0 / 0.491 GB, free: 10.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001594/0.4071, allocations: 0.5388 MB / 0.4916 GB, free: 9.988 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 (106): * Single equations (assignments): 105 * 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 {32 32} Notification: Performance of Backend phase and start with SimCode phase: time 0.009006/0.4162, allocations: 4.266 MB / 0.4957 GB, free: 5.699 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00666/0.4228, allocations: 3.1 MB / 0.4988 GB, free: 2.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.4228, allocations: 0.6562 kB / 0.4988 GB, free: 2.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004667/0.4275, allocations: 2.035 MB / 0.5008 GB, free: 0.543 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009044/0.4284, allocations: 146.9 kB / 0.5009 GB, free: 408 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01707/0.4455, allocations: 9.366 MB / 0.51 GB, free: 6.816 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000651/0.4462, allocations: 1.092 MB / 0.5111 GB, free: 5.691 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005288/0.4467, allocations: 143.5 kB / 0.5112 GB, free: 5.547 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005046/0.4472, allocations: 399.3 kB / 0.5116 GB, free: 5.156 MB / 382.1 MB Notification: Performance of SimCode: time 1.814e-06/0.4473, allocations: 4 kB / 0.5116 GB, free: 5.152 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06054/0.5078, allocations: 41.68 MB / 0.5523 GB, free: 11.77 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/0.508, allocations: 207.2 kB / 0.5525 GB, free: 11.53 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.253/2.762, allocations: 0 / 0.5525 GB, free: 11.53 MB / 430.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_MediumNetworks_DoubleNetwork.fmu > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1) Environment - environmentSimulation: