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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 176.7 kB / 8.051 MB, free: 1.023 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.627/1.627, allocations: 221.5 MB / 230 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 97.7 kB / 280.9 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03861/0.03861, allocations: 8.094 MB / 339.8 MB, free: 6.992 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.978e-05/2.978e-05, allocations: 4.188 kB / 398.6 MB, free: 49.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1192, allocations: 52.52 MB / 451.1 MB, free: 5.266 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1065/0.2257, allocations: 80.89 MB / 0.5195 GB, free: 4.266 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/0.226, allocations: 75.95 kB / 0.5196 GB, free: 4.191 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2716/0.4976, allocations: 19.23 MB / 0.5384 GB, free: 77.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4977, allocations: 0 / 0.5384 GB, free: 77.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.384e-05/0.4977, allocations: 19.72 kB / 0.5384 GB, free: 77.11 MB / 362.7 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.003568/0.5013, allocations: 1.179 MB / 0.5395 GB, free: 76.28 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.5014, allocations: 19.84 kB / 0.5395 GB, free: 76.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002043/0.5016, allocations: 73.34 kB / 0.5396 GB, free: 76.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006546/0.5022, allocations: 456.9 kB / 0.54 GB, free: 75.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.5023, allocations: 17.97 kB / 0.5401 GB, free: 75.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.405e-05/0.5023, allocations: 27.44 kB / 0.5401 GB, free: 75.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008953/0.5033, allocations: 0.6463 MB / 0.5407 GB, free: 75.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.5043, allocations: 0.6851 MB / 0.5414 GB, free: 75.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.5043, allocations: 0 / 0.5414 GB, free: 75.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.289e-05/0.5044, allocations: 4 kB / 0.5414 GB, free: 75.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.5044, allocations: 14.47 kB / 0.5414 GB, free: 75.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003794/0.5082, allocations: 3.079 MB / 0.5444 GB, free: 72.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.5094, allocations: 1.257 MB / 0.5456 GB, free: 70.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004639/0.5099, allocations: 439.2 kB / 0.5461 GB, free: 70.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001731/0.51, allocations: 97.7 kB / 0.5462 GB, free: 70.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.5101, allocations: 43.34 kB / 0.5462 GB, free: 70.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 2.605e-06/0.5101, allocations: 0 / 0.5462 GB, free: 70.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=72): time 0.004824/0.5149, allocations: 1.663 MB / 0.5478 GB, free: 68.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.515, allocations: 115.6 kB / 0.5479 GB, free: 68.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003388/0.5153, allocations: 337.3 kB / 0.5483 GB, free: 67.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.647e-05/0.5154, allocations: 25.7 kB / 0.5483 GB, free: 67.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.5155, allocations: 237.2 kB / 0.5485 GB, free: 67.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001449/0.5157, allocations: 236.4 kB / 0.5487 GB, free: 67.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.119e-05/0.5157, allocations: 4 kB / 0.5487 GB, free: 67.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.731e-05/0.5158, allocations: 358.8 kB / 0.5491 GB, free: 67.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000431/0.5162, allocations: 345.5 kB / 0.5494 GB, free: 66.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004156/0.5167, allocations: 397.5 kB / 0.5498 GB, free: 66.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008814/0.5176, allocations: 412.5 kB / 0.5502 GB, free: 65.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.5176, allocations: 0 / 0.5502 GB, free: 65.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.004858/0.5224, allocations: 1.725 MB / 0.5519 GB, free: 64.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.5225, allocations: 8.562 kB / 0.5519 GB, free: 64.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.5225, allocations: 0 / 0.5519 GB, free: 64.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00494/0.5274, allocations: 1.106 MB / 0.553 GB, free: 63.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004012/0.5279, allocations: 79.89 kB / 0.553 GB, free: 63.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008779/0.5367, allocations: 5.187 MB / 0.5581 GB, free: 57.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007498/0.5375, allocations: 39.52 kB / 0.5581 GB, free: 57.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.112e-05/0.5375, allocations: 27.98 kB / 0.5582 GB, free: 57.67 MB / 362.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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 {10 20} Notification: Performance of prepare postOptimizeDAE: time 0.0001979/0.5377, allocations: 109 kB / 0.5583 GB, free: 57.55 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004873/0.5426, allocations: 1.663 MB / 0.5599 GB, free: 55.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001985/0.5429, allocations: 63.28 kB / 0.5599 GB, free: 55.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005224/0.5481, allocations: 1.849 MB / 0.5618 GB, free: 53.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.5481, allocations: 8 kB / 0.5618 GB, free: 53.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.5481, allocations: 3.953 kB / 0.5618 GB, free: 53.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.5482, allocations: 3.984 kB / 0.5618 GB, free: 53.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0059/0.5541, allocations: 2.737 MB / 0.5644 GB, free: 51.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.5541, allocations: 0 / 0.5644 GB, free: 51.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003153/0.5544, allocations: 87.89 kB / 0.5645 GB, free: 51.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004717/0.5591, allocations: 1.105 MB / 0.5656 GB, free: 49.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.026e-05/0.5592, allocations: 11.98 kB / 0.5656 GB, free: 49.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008023/0.5673, allocations: 5.136 MB / 0.5706 GB, free: 44.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.85e-06/0.5673, allocations: 0 / 0.5706 GB, free: 44.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004966/0.5723, allocations: 1.828 MB / 0.5724 GB, free: 42.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.5724, allocations: 144.2 kB / 0.5726 GB, free: 42.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.242e-05/0.5725, allocations: 3.984 kB / 0.5726 GB, free: 42.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005801/0.5731, allocations: 35.97 kB / 0.5726 GB, free: 42.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.5733, allocations: 60.69 kB / 0.5726 GB, free: 42.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.225e-05/0.5733, allocations: 23.98 kB / 0.5727 GB, free: 42.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000234/0.5736, allocations: 263 kB / 0.5729 GB, free: 42.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5736, allocations: 0 / 0.5729 GB, free: 42.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008044/0.5744, allocations: 255.8 kB / 0.5732 GB, free: 42.07 MB / 362.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 53 * 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 {10 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.005154/0.5795, allocations: 2.4 MB / 0.5755 GB, free: 39.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002799/0.5823, allocations: 1.284 MB / 0.5768 GB, free: 38.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.5824, allocations: 0 / 0.5768 GB, free: 38.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002001/0.5844, allocations: 0.8907 MB / 0.5776 GB, free: 37.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005119/0.5849, allocations: 42.19 kB / 0.5777 GB, free: 37.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.5865, allocations: 0.7943 MB / 0.5785 GB, free: 36.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.5868, allocations: 0.9045 MB / 0.5793 GB, free: 35.63 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002786/0.5871, allocations: 72.28 kB / 0.5794 GB, free: 35.56 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/0.5873, allocations: 207.3 kB / 0.5796 GB, free: 35.36 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.5873, allocations: 3.938 kB / 0.5796 GB, free: 35.35 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0426/0.6299, allocations: 20.12 MB / 0.5993 GB, free: 15.29 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/0.6302, allocations: 146 kB / 0.5994 GB, free: 15.09 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.339/2.97, allocations: 0 / 0.5994 GB, free: 15.09 MB / 362.7 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/linux/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)