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-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.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.0009749/0.000975, allocations: 96.47 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.001259/0.001259, allocations: 182.4 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.301/1.301, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1478/0.1478, allocations: 8.094 MB / 300.2 MB, free: 2.906 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002997/0.0002997, allocations: 8 kB / 363.6 MB, free: 12.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08647/0.08678, allocations: 52.52 MB / 416.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.DoubleNetwork): time 0.004943/0.09176, allocations: 5.392 MB / 421.5 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003525/0.09532, allocations: 2.318 MB / 423.8 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006223/0.09597, allocations: 20 kB / 423.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007312/0.09671, allocations: 254.7 kB / 424.1 MB, free: 256 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1687/0.2654, allocations: 0.5335 MB / 424.6 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002455/0.2679, allocations: 1.375 MB / 426 MB, free: 35.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001467/0.2694, allocations: 1.241 MB / 427.2 MB, free: 35.13 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004218/0.2698, allocations: 338.8 kB / 427.6 MB, free: 35.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004107/0.2702, allocations: 491 kB / 428.1 MB, free: 34.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005969/0.2708, allocations: 0.635 MB / 428.7 MB, free: 34.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.2709, allocations: 57.72 kB / 428.7 MB, free: 34.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006125/0.2716, allocations: 288.8 kB / 429 MB, free: 34.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.2717, allocations: 219.5 kB / 429.2 MB, free: 34.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004374/0.2722, allocations: 0.5725 MB / 429.8 MB, free: 34.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.2734, allocations: 1.341 MB / 431.2 MB, free: 34.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.2734, allocations: 0 / 431.2 MB, free: 34.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2735, allocations: 0 / 431.2 MB, free: 34.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.2735, allocations: 0 / 431.2 MB, free: 34.3 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.01156/0.285, allocations: 2.976 MB / 434.1 MB, free: 33.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.669e-05/0.2851, allocations: 10.72 kB / 434.1 MB, free: 33.49 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005184/0.2857, allocations: 137.9 kB / 434.3 MB, free: 33.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003745/0.286, allocations: 137.6 kB / 434.4 MB, free: 33.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.2872, allocations: 0.6704 MB / 435.1 MB, free: 33.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.617e-05/0.2873, allocations: 71.09 kB / 435.1 MB, free: 33.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.2875, allocations: 97.94 kB / 435.2 MB, free: 33.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001926/0.2894, allocations: 1.343 MB / 436.6 MB, free: 32.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.2894, allocations: 0 / 436.6 MB, free: 32.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/0.2896, allocations: 43.12 kB / 436.6 MB, free: 32.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.2896, allocations: 22.22 kB / 436.7 MB, free: 32.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/0.2915, allocations: 1.278 MB / 437.9 MB, free: 32.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006863/0.2984, allocations: 5.282 MB / 443.2 MB, free: 29.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002479/0.301, allocations: 3.099 MB / 446.3 MB, free: 27.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/0.302, allocations: 0.983 MB / 447.3 MB, free: 26.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001257/0.3022, allocations: 37.28 kB / 447.3 MB, free: 26.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/0.3022, allocations: 57.83 kB / 447.4 MB, free: 26.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=147): time 3.667e-06/0.3022, allocations: 0 / 447.4 MB, free: 26.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=147): time 0.02561/0.3279, allocations: 7.053 MB / 454.4 MB, free: 24.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.3279, allocations: 119.7 kB / 454.6 MB, free: 24.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007432/0.3287, allocations: 0.6381 MB / 455.2 MB, free: 24.56 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000176/0.3289, allocations: 63.55 kB / 455.3 MB, free: 24.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.329, allocations: 341.1 kB / 455.6 MB, free: 24.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003009/0.3294, allocations: 499.8 kB / 456.1 MB, free: 23.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001687/0.3295, allocations: 144 kB / 456.2 MB, free: 23.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.668e-05/0.3296, allocations: 344.4 kB / 456.6 MB, free: 23.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.3307, allocations: 0.8575 MB / 457.4 MB, free: 23.06 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/0.3318, allocations: 0.9793 MB / 458.4 MB, free: 22.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002336/0.3342, allocations: 1.935 MB / 460.3 MB, free: 21.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.3342, allocations: 0 / 460.3 MB, free: 21.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.009584/0.3438, allocations: 3.826 MB / 464.2 MB, free: 20.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.3439, allocations: 5.844 kB / 464.2 MB, free: 20.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.3439, allocations: 1 kB / 464.2 MB, free: 20.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01136/0.3553, allocations: 3.946 MB / 468.1 MB, free: 19.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009593/0.3563, allocations: 232 kB / 468.3 MB, free: 19.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02019/0.3765, allocations: 10.43 MB / 478.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.3777, allocations: 139 kB / 478.9 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.3779, allocations: 51.7 kB / 478.9 MB, free: 13.6 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 (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 {(32,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0004589/0.3783, allocations: 266.4 kB / 479.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/0.3785, allocations: 107.8 kB / 479.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009733/0.3883, allocations: 3.803 MB / 483.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/0.3883, allocations: 18.72 kB / 483.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3883, allocations: 1.062 kB / 483.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.36e-05/0.3884, allocations: 8.766 kB / 483.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01104/0.3994, allocations: 5.327 MB / 488.5 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.449e-05/0.3995, allocations: 3.938 kB / 488.5 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006064/0.4001, allocations: 175.7 kB / 488.6 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009638/0.4097, allocations: 2.743 MB / 491.4 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000243/0.41, allocations: 31.98 kB / 491.4 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01883/0.4288, allocations: 10.21 MB / 0.4899 GB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4289, allocations: 0 / 0.4899 GB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009722/0.4386, allocations: 3.679 MB / 0.4935 GB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003528/0.439, allocations: 207.2 kB / 0.4937 GB, free: 7.055 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/0.4392, allocations: 28 kB / 0.4937 GB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.4403, allocations: 118.5 kB / 0.4938 GB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005183/0.4408, allocations: 122.4 kB / 0.4939 GB, free: 6.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.4409, allocations: 51.98 kB / 0.494 GB, free: 6.746 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006606/0.4416, allocations: 439 kB / 0.4944 GB, free: 6.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4416, allocations: 0 / 0.4944 GB, free: 6.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001639/0.4432, allocations: 0.5349 MB / 0.4949 GB, free: 5.785 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 (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 {(32,32)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01016/0.4534, allocations: 4.278 MB / 0.4991 GB, free: 1.484 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007338/0.4608, allocations: 3.13 MB / 0.5021 GB, free: 14.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.4608, allocations: 0.6562 kB / 0.5021 GB, free: 14.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005301/0.4661, allocations: 2.047 MB / 0.5041 GB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009463/0.4671, allocations: 130.9 kB / 0.5043 GB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02924/0.4963, allocations: 14.94 MB / 0.5189 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000666/0.497, allocations: 1.092 MB / 0.5199 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006201/0.4977, allocations: 147.5 kB / 0.5201 GB, free: 11.69 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004878/0.4982, allocations: 407.2 kB / 0.5205 GB, free: 11.29 MB / 398.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4982, allocations: 0 / 0.5205 GB, free: 11.29 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06359/0.5618, allocations: 42.25 MB / 0.5617 GB, free: 1.324 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002248/0.562, allocations: 227.2 kB / 0.5619 GB, free: 1.066 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.37/2.932, allocations: 0 / 0.5619 GB, free: 1.066 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/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)