Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.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.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLinesOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource",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.001821/0.001821, allocations: 182.3 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 221.4 MB / 235.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007953/0.0007952, allocations: 103.6 kB / 286.1 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0628/0.0628, allocations: 8.102 MB / 345.1 MB, free: 1.922 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.936e-05/3.985e-05, allocations: 4 kB / 405.6 MB, free: 61.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09442/0.09448, allocations: 52.52 MB / 458.1 MB, free: 9.367 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3717/0.4662, allocations: 78.65 MB / 0.5241 GB, free: 7.359 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.4665, allocations: 57.3 kB / 0.5242 GB, free: 7.336 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02425/0.4908, allocations: 9.358 MB / 0.5333 GB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4909, allocations: 4 kB / 0.5333 GB, free: 15.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.4909, allocations: 4 kB / 0.5333 GB, free: 15.87 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001648/0.4925, allocations: 0.6772 MB / 0.534 GB, free: 15.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.4926, allocations: 15.97 kB / 0.534 GB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.304e-05/0.4927, allocations: 60.47 kB / 0.5341 GB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.232e-05/0.4928, allocations: 27.72 kB / 0.5341 GB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003725/0.4931, allocations: 278.1 kB / 0.5344 GB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.4932, allocations: 19.44 kB / 0.5344 GB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.4932, allocations: 22.94 kB / 0.5344 GB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005191/0.4937, allocations: 334.2 kB / 0.5347 GB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.4938, allocations: 0 / 0.5347 GB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.352e-05/0.4938, allocations: 11.58 kB / 0.5347 GB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.4938, allocations: 8 kB / 0.5348 GB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004519/0.4943, allocations: 332.5 kB / 0.5351 GB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00178/0.4961, allocations: 1.126 MB / 0.5362 GB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005085/0.4966, allocations: 393.7 kB / 0.5365 GB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002821/0.4969, allocations: 219.4 kB / 0.5368 GB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.456e-05/0.4969, allocations: 15.59 kB / 0.5368 GB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.497, allocations: 42.52 kB / 0.5368 GB, free: 13.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 1.453e-06/0.497, allocations: 0 / 0.5368 GB, free: 13.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=35): time 0.00113/0.4981, allocations: 0.5262 MB / 0.5373 GB, free: 12.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.4982, allocations: 63.39 kB / 0.5374 GB, free: 12.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.4984, allocations: 213.8 kB / 0.5376 GB, free: 12.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.4984, allocations: 33.02 kB / 0.5376 GB, free: 12.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.58e-05/0.4985, allocations: 145.6 kB / 0.5378 GB, free: 12.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.217e-05/0.4986, allocations: 115.8 kB / 0.5379 GB, free: 12.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.079e-05/0.4987, allocations: 6.812 kB / 0.5379 GB, free: 12.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.4988, allocations: 340.7 kB / 0.5382 GB, free: 11.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000254/0.4991, allocations: 187.2 kB / 0.5384 GB, free: 11.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/0.4994, allocations: 193.5 kB / 0.5386 GB, free: 11.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/0.4997, allocations: 214.7 kB / 0.5388 GB, free: 11.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.4997, allocations: 0 / 0.5388 GB, free: 11.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001107/0.5008, allocations: 0.6171 MB / 0.5394 GB, free: 11.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.5008, allocations: 7.953 kB / 0.5394 GB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.5008, allocations: 0 / 0.5394 GB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006656/0.5015, allocations: 156.3 kB / 0.5395 GB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/0.5018, allocations: 59.89 kB / 0.5396 GB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003971/0.5058, allocations: 4.328 MB / 0.5438 GB, free: 6.699 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.5062, allocations: 23.53 kB / 0.5438 GB, free: 6.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.5062, allocations: 10.81 kB / 0.5438 GB, free: 6.672 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 (38): * Single equations (assignments): 35 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001403/0.5064, allocations: 121.1 kB / 0.544 GB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.154e-05/0.5064, allocations: 27.67 kB / 0.544 GB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.5078, allocations: 0.6006 MB / 0.5446 GB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.5078, allocations: 4 kB / 0.5446 GB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.5078, allocations: 3.938 kB / 0.5446 GB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.5078, allocations: 7.953 kB / 0.5446 GB, free: 6.117 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000544/0.5083, allocations: 0.5002 MB / 0.5451 GB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5084, allocations: 3.938 kB / 0.5451 GB, free: 5.699 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.5086, allocations: 47.97 kB / 0.5451 GB, free: 5.652 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000564/0.5092, allocations: 157.1 kB / 0.5453 GB, free: 5.531 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.5092, allocations: 7.922 kB / 0.5453 GB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003564/0.5128, allocations: 4.306 MB / 0.5495 GB, free: 1.199 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.5128, allocations: 0 / 0.5495 GB, free: 1.199 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.5139, allocations: 0.6262 MB / 0.5501 GB, free: 0.7344 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.26e-05/0.514, allocations: 108.5 kB / 0.5502 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.514, allocations: 10.69 kB / 0.5502 GB, free: 0.6094 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000248/0.5143, allocations: 2.438 kB / 0.5502 GB, free: 0.6094 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.012e-05/0.5144, allocations: 27.52 kB / 0.5502 GB, free: 0.5859 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.5144, allocations: 11.06 kB / 0.5503 GB, free: 0.5781 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000172/0.5146, allocations: 187.3 kB / 0.5504 GB, free: 440 kB / 362.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5146, allocations: 0 / 0.5504 GB, free: 440 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004928/0.5151, allocations: 113.4 kB / 0.5505 GB, free: 336 kB / 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 (32): * Single equations (assignments): 29 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0014/0.5165, allocations: 1.191 MB / 0.5517 GB, free: 15.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00142/0.5179, allocations: 0.8055 MB / 0.5525 GB, free: 14.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.5179, allocations: 0 / 0.5525 GB, free: 14.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009816/0.5189, allocations: 0.5702 MB / 0.553 GB, free: 14.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.5191, allocations: 17.95 kB / 0.5531 GB, free: 14.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008938/0.52, allocations: 462.6 kB / 0.5535 GB, free: 13.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.5204, allocations: 0.7608 MB / 0.5542 GB, free: 12.94 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000165/0.5205, allocations: 42.02 kB / 0.5543 GB, free: 12.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.5207, allocations: 78.72 kB / 0.5544 GB, free: 12.86 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.5207, allocations: 0 / 0.5544 GB, free: 12.86 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02079/0.5415, allocations: 6.943 MB / 0.5611 GB, free: 6.055 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002627/0.5418, allocations: 173.6 kB / 0.5613 GB, free: 5.828 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.84/2.381, allocations: 0 / 0.5613 GB, free: 5.828 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe 2>&1)