Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.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.OneSourceOneLineOneLoadOneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank",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.0008838/0.0008838, 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.0008807/0.0008807, allocations: 179.9 kB / 16.61 MB, free: 6.559 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.248/1.248, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1376/0.1376, allocations: 8.085 MB / 299.7 MB, free: 2.867 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002822/0.0002823, allocations: 8 kB / 362.9 MB, free: 13.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08571/0.08601, allocations: 52.51 MB / 415.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.00132/0.08737, allocations: 0.9624 MB / 416.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.08891, allocations: 1.431 MB / 417.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.363e-05/0.08898, allocations: 4 kB / 417.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002339/0.08922, allocations: 83.53 kB / 417.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001913/0.08942, allocations: 99.69 kB / 417.9 MB, free: 6.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.09062, allocations: 0.7241 MB / 418.7 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.09083, allocations: 131.7 kB / 418.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.09096, allocations: 53.81 kB / 418.8 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.746e-05/0.09104, allocations: 67.7 kB / 418.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.09118, allocations: 87.67 kB / 419 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.09121, allocations: 12 kB / 419 MB, free: 5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002552/0.09147, allocations: 163.8 kB / 419.2 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.742e-05/0.0915, allocations: 23.91 kB / 419.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.103e-05/0.09155, allocations: 57.64 kB / 419.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.09182, allocations: 235.7 kB / 419.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.09183, allocations: 0 / 419.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.09184, allocations: 3.938 kB / 419.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.09185, allocations: 0 / 419.5 MB, free: 4.52 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001605/0.09346, allocations: 0.651 MB / 420.1 MB, free: 3.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.0935, allocations: 12.03 kB / 420.1 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.552e-05/0.09356, allocations: 50.55 kB / 420.2 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.716e-05/0.09361, allocations: 27.67 kB / 420.2 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.09386, allocations: 230.8 kB / 420.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.09388, allocations: 8.281 kB / 420.4 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.09391, allocations: 16 kB / 420.5 MB, free: 3.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003152/0.09423, allocations: 211.8 kB / 420.7 MB, free: 3.219 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.09425, allocations: 0 / 420.7 MB, free: 3.219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.09427, allocations: 4 kB / 420.7 MB, free: 3.215 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/0.09429, allocations: 7.953 kB / 420.7 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002768/0.09457, allocations: 200.8 kB / 420.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.09564, allocations: 0.8501 MB / 421.7 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006404/0.0963, allocations: 385.9 kB / 422.1 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.789e-05/0.09635, allocations: 4 kB / 422.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.09638, allocations: 42.5 kB / 422.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.292e-06/0.09638, allocations: 0 / 422.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001952/0.09834, allocations: 0.7161 MB / 422.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.09838, allocations: 55.41 kB / 422.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.09856, allocations: 190.2 kB / 423.1 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.0986, allocations: 29.7 kB / 423.1 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.033e-05/0.09867, allocations: 124.4 kB / 423.3 MB, free: 464 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.036e-05/0.09873, allocations: 74.89 kB / 423.3 MB, free: 388 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.394e-05/0.09875, allocations: 4 kB / 423.3 MB, free: 384 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.09886, allocations: 326.8 kB / 423.7 MB, free: 48 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1446/0.2435, allocations: 118.7 kB / 423.8 MB, free: 40.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.2437, allocations: 123.4 kB / 423.9 MB, free: 40.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.2439, allocations: 131.7 kB / 424 MB, free: 40.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2439, allocations: 0 / 424 MB, free: 40.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009369/0.2448, allocations: 489.5 kB / 424.5 MB, free: 40.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.2449, allocations: 4.938 kB / 424.5 MB, free: 40.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.2449, allocations: 4.5 kB / 424.5 MB, free: 40.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007107/0.2456, allocations: 178.1 kB / 424.7 MB, free: 40.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.2457, allocations: 42.34 kB / 424.7 MB, free: 40.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002325/0.2481, allocations: 2.214 MB / 426.9 MB, free: 39.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.2483, allocations: 21.14 kB / 427 MB, free: 39.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.2483, allocations: 10.09 kB / 427 MB, free: 39.59 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 (23): * Single equations (assignments): 22 * 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 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.2484, allocations: 138.3 kB / 427.1 MB, free: 39.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/0.2484, allocations: 15.53 kB / 427.1 MB, free: 39.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000891/0.2493, allocations: 468.9 kB / 427.6 MB, free: 39.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2494, allocations: 3.312 kB / 427.6 MB, free: 39.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.2494, allocations: 2.109 kB / 427.6 MB, free: 39.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.2494, allocations: 3.531 kB / 427.6 MB, free: 39.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.2505, allocations: 0.8459 MB / 428.4 MB, free: 39.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2505, allocations: 0 / 428.4 MB, free: 39.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.243e-05/0.2506, allocations: 27.67 kB / 428.5 MB, free: 39.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006029/0.2512, allocations: 182.8 kB / 428.6 MB, free: 39.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.2512, allocations: 6.188 kB / 428.6 MB, free: 39.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/0.2533, allocations: 2.203 MB / 430.8 MB, free: 37.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2533, allocations: 0 / 430.8 MB, free: 37.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008081/0.2541, allocations: 0.5155 MB / 431.4 MB, free: 37.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.522e-05/0.2541, allocations: 101.6 kB / 431.5 MB, free: 37.51 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.2542, allocations: 3.938 kB / 431.5 MB, free: 37.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.2544, allocations: 14.14 kB / 431.5 MB, free: 37.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.2544, allocations: 21.31 kB / 431.5 MB, free: 37.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.2544, allocations: 7.219 kB / 431.5 MB, free: 37.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.582e-05/0.2545, allocations: 136.9 kB / 431.6 MB, free: 37.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2545, allocations: 0 / 431.6 MB, free: 37.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003436/0.2549, allocations: 87.72 kB / 431.7 MB, free: 37.43 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 (16): * Single equations (assignments): 15 * 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 {3 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009621/0.2559, allocations: 1.065 MB / 432.8 MB, free: 36.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008034/0.2567, allocations: 493.8 kB / 433.3 MB, free: 36.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.2567, allocations: 0 / 433.3 MB, free: 36.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005279/0.2572, allocations: 329.6 kB / 433.6 MB, free: 36.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.2574, allocations: 19.59 kB / 433.6 MB, free: 36.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000747/0.2582, allocations: 0.7159 MB / 434.3 MB, free: 36.01 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.2583, allocations: 0.7402 MB / 435.1 MB, free: 35.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.127e-05/0.2584, allocations: 22.72 kB / 435.1 MB, free: 35.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.031e-05/0.2585, allocations: 54.66 kB / 435.1 MB, free: 35.3 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2585, allocations: 0 / 435.1 MB, free: 35.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01504/0.2736, allocations: 6.201 MB / 441.3 MB, free: 34.86 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001149/0.2737, allocations: 215.1 kB / 441.6 MB, free: 34.61 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.596/1.869, allocations: 4 kB / 441.6 MB, free: 34.61 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe 2>&1) Environment - environmentSimulation: