Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.ReferenceSynchron,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_ReferenceSynchron",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.ReferenceSynchron,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_ReferenceSynchron",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001305/0.001305, allocations: 184.3 kB / 13.65 MB, free: 1.668 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.505/1.505, allocations: 194.2 MB / 208.4 MB, free: 6.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001768/0.001768, allocations: 112.7 kB / 253.5 MB, free: 9.539 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1701/0.1701, allocations: 37.91 MB / 336.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.905e-05/4.916e-05, allocations: 4 kB / 397.6 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.263/0.2631, allocations: 53.21 MB / 450.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.396/0.6592, allocations: 95.21 MB / 0.5333 GB, free: 88.18 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/0.6595, allocations: 86.06 kB / 0.5333 GB, free: 88.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04004/0.6996, allocations: 13.2 MB / 0.5462 GB, free: 83 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6996, allocations: 0 / 0.5462 GB, free: 83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.964e-05/0.6997, allocations: 8 kB / 0.5462 GB, free: 82.99 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001277/0.701, allocations: 0.6796 MB / 0.5469 GB, free: 82.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.166e-05/0.701, allocations: 8.031 kB / 0.5469 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001085/0.7011, allocations: 90.45 kB / 0.547 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005265/0.7017, allocations: 87.3 kB / 0.5471 GB, free: 82.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002228/0.7039, allocations: 0.8447 MB / 0.5479 GB, free: 81.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.704, allocations: 36.7 kB / 0.5479 GB, free: 81.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.728e-05/0.7041, allocations: 40 kB / 0.548 GB, free: 81.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009356/0.705, allocations: 0.6436 MB / 0.5486 GB, free: 80.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.7051, allocations: 4 kB / 0.5486 GB, free: 80.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.835e-05/0.7051, allocations: 16 kB / 0.5486 GB, free: 80.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001171/0.7052, allocations: 52.69 kB / 0.5487 GB, free: 80.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008204/0.7061, allocations: 0.6279 MB / 0.5493 GB, free: 79.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003251/0.7093, allocations: 2.44 MB / 0.5517 GB, free: 77.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004841/0.7098, allocations: 333.8 kB / 0.552 GB, free: 76.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002816/0.7101, allocations: 246.1 kB / 0.5522 GB, free: 76.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.459e-05/0.7102, allocations: 11.92 kB / 0.5522 GB, free: 76.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.7102, allocations: 42.56 kB / 0.5523 GB, free: 76.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 2.545e-06/0.7102, allocations: 0 / 0.5523 GB, free: 76.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=47): time 0.00188/0.7121, allocations: 1.247 MB / 0.5535 GB, free: 75.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.7122, allocations: 81.39 kB / 0.5536 GB, free: 75.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.7124, allocations: 259.4 kB / 0.5538 GB, free: 74.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.7125, allocations: 37.72 kB / 0.5538 GB, free: 74.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.7126, allocations: 239.8 kB / 0.5541 GB, free: 74.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.498e-05/0.7127, allocations: 165.6 kB / 0.5542 GB, free: 74.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.045e-05/0.7127, allocations: 4 kB / 0.5542 GB, free: 74.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.7128, allocations: 354.7 kB / 0.5546 GB, free: 74.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.7131, allocations: 209 kB / 0.5548 GB, free: 73.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/0.7134, allocations: 358.7 kB / 0.5551 GB, free: 73.44 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/0.7138, allocations: 281 kB / 0.5554 GB, free: 73.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.7138, allocations: 0 / 0.5554 GB, free: 73.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0007881/0.7146, allocations: 0.6333 MB / 0.556 GB, free: 72.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.7146, allocations: 8 kB / 0.556 GB, free: 72.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.7146, allocations: 4 kB / 0.556 GB, free: 72.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.7146, allocations: 8 kB / 0.556 GB, free: 72.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/0.7151, allocations: 115.8 kB / 0.5561 GB, free: 72.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.7151, allocations: 4.531 kB / 0.5561 GB, free: 72.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/0.7154, allocations: 43.89 kB / 0.5562 GB, free: 72.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.112e-05/0.7154, allocations: 23.98 kB / 0.5562 GB, free: 72.32 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.7155, allocations: 132.6 kB / 0.5563 GB, free: 72.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.697e-05/0.7156, allocations: 39.47 kB / 0.5564 GB, free: 72.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008035/0.7164, allocations: 0.5287 MB / 0.5569 GB, free: 71.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.138e-05/0.7165, allocations: 19.98 kB / 0.5569 GB, free: 71.58 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.7165, allocations: 0 / 0.5569 GB, free: 71.58 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.7165, allocations: 8 kB / 0.5569 GB, free: 71.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.7181, allocations: 1.168 MB / 0.558 GB, free: 70.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.7182, allocations: 3.984 kB / 0.5581 GB, free: 70.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003389/0.7185, allocations: 71.89 kB / 0.5581 GB, free: 70.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.7185, allocations: 4 kB / 0.5581 GB, free: 70.26 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.337e-05/0.7186, allocations: 12.08 kB / 0.5581 GB, free: 70.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.7186, allocations: 4 kB / 0.5581 GB, free: 70.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.7186, allocations: 4 kB / 0.5581 GB, free: 70.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.7196, allocations: 0.9413 MB / 0.5591 GB, free: 69.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.432e-05/0.7197, allocations: 116.7 kB / 0.5592 GB, free: 69.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.157e-05/0.7198, allocations: 8 kB / 0.5592 GB, free: 69.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.72, allocations: 19.97 kB / 0.5592 GB, free: 69.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/0.7201, allocations: 19.97 kB / 0.5592 GB, free: 69.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/0.7201, allocations: 12 kB / 0.5592 GB, free: 69.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001867/0.7203, allocations: 210.2 kB / 0.5594 GB, free: 68.86 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.7203, allocations: 0 / 0.5594 GB, free: 68.86 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005571/0.7209, allocations: 120 kB / 0.5595 GB, free: 68.74 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 30 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001255/0.7222, allocations: 1.803 MB / 0.5613 GB, free: 66.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006543/0.7228, allocations: 0.5258 MB / 0.5618 GB, free: 66.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7228, allocations: 0 / 0.5618 GB, free: 66.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002629/0.7231, allocations: 247.7 kB / 0.5621 GB, free: 66.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004148/0.7235, allocations: 60.88 kB / 0.5621 GB, free: 66.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/0.7252, allocations: 1.074 MB / 0.5632 GB, free: 64.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.7255, allocations: 0.8831 MB / 0.564 GB, free: 64.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003305/0.7259, allocations: 127.1 kB / 0.5641 GB, free: 63.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.7261, allocations: 147.4 kB / 0.5643 GB, free: 63.75 MB / 378.7 MB Notification: Performance of SimCode: time 1.433e-06/0.7261, allocations: 0 / 0.5643 GB, free: 63.75 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/0.7453, allocations: 7.535 MB / 0.5716 GB, free: 56.23 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001626/0.7455, allocations: 165.2 kB / 0.5718 GB, free: 55.99 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.225/2.971, allocations: 0 / 0.5718 GB, free: 55.99 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_ReferenceSynchron_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_ReferenceSynchron.fmu > PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1)