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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 116.2 kB / 18.49 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002485/0.002485, allocations: 218.9 kB / 21.46 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.537/1.537, allocations: 230.6 MB / 254.8 MB, free: 14.88 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1831/0.1831, allocations: 38.5 MB / 349.4 MB, free: 2.574 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.ReferenceSynchron,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_ReferenceSynchron",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.ReferenceSynchron,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_ReferenceSynchron",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 71.91 kB / 487.8 MB, free: 22.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1239, allocations: 62.41 MB / 0.5373 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.006182/0.1301, allocations: 4.472 MB / 0.5417 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002498/0.1326, allocations: 1.496 MB / 0.5432 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001771/0.1328, allocations: 15.88 kB / 0.5432 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.1338, allocations: 374.4 kB / 0.5435 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000565/0.1344, allocations: 262.7 kB / 0.5438 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006559/0.135, allocations: 243.4 kB / 0.544 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000636/0.1357, allocations: 0.5534 MB / 0.5446 GB, free: 136 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003926/0.1361, allocations: 233.1 kB / 0.5448 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003985/0.1365, allocations: 274.9 kB / 0.545 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005025/0.137, allocations: 374.9 kB / 0.5454 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.011e-05/0.137, allocations: 40 kB / 0.5454 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004344/0.1375, allocations: 247.6 kB / 0.5457 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002516/0.1377, allocations: 239.4 kB / 0.5459 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002669/0.138, allocations: 258.8 kB / 0.5462 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007976/0.1388, allocations: 0.6811 MB / 0.5468 GB, free: 13.81 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1388, allocations: 0 / 0.5468 GB, free: 13.81 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1388, allocations: 0 / 0.5468 GB, free: 13.81 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.1388, allocations: 0 / 0.5468 GB, free: 13.81 MB / 414.1 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.001455/0.1403, allocations: 0.7848 MB / 0.5476 GB, free: 12.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1403, allocations: 11.97 kB / 0.5476 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.991e-05/0.1403, allocations: 17.19 kB / 0.5476 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.747e-05/0.1404, allocations: 86.69 kB / 0.5477 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007178/0.1411, allocations: 128.5 kB / 0.5478 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006934/0.1418, allocations: 419.4 kB / 0.5482 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.655e-05/0.1419, allocations: 33.12 kB / 0.5482 GB, free: 12.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.142, allocations: 43.98 kB / 0.5483 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.143, allocations: 0.6765 MB / 0.549 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.143, allocations: 3.938 kB / 0.549 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.928e-05/0.1431, allocations: 23.98 kB / 0.549 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001835/0.1433, allocations: 48.95 kB / 0.549 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.1443, allocations: 0.6713 MB / 0.5497 GB, free: 10.74 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003685/0.148, allocations: 2.517 MB / 0.5521 GB, free: 8.098 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005611/0.1486, allocations: 317.1 kB / 0.5524 GB, free: 7.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003098/0.1489, allocations: 205.6 kB / 0.5526 GB, free: 7.562 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.44e-05/0.1489, allocations: 7.938 kB / 0.5526 GB, free: 7.555 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.1489, allocations: 50.48 kB / 0.5527 GB, free: 7.496 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.345e-06/0.1489, allocations: 0 / 0.5527 GB, free: 7.496 MB / 414.1 MB Notification: Performance of matching and sorting (n=43): time 0.00224/0.1512, allocations: 1.353 MB / 0.554 GB, free: 6.086 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.722e-05/0.1513, allocations: 85.09 kB / 0.5541 GB, free: 5.984 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003507/0.1516, allocations: 300.5 kB / 0.5544 GB, free: 5.684 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.1516, allocations: 33.83 kB / 0.5544 GB, free: 5.645 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002051/0.1519, allocations: 264.2 kB / 0.5547 GB, free: 5.379 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.152, allocations: 162.6 kB / 0.5548 GB, free: 5.219 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.1522, allocations: 98.19 kB / 0.5549 GB, free: 5.117 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.1523, allocations: 346.8 kB / 0.5552 GB, free: 4.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003073/0.1526, allocations: 201 kB / 0.5554 GB, free: 4.574 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000449/0.1531, allocations: 357.2 kB / 0.5558 GB, free: 4.152 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008301/0.1539, allocations: 0.6099 MB / 0.5564 GB, free: 3.473 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1539, allocations: 0 / 0.5564 GB, free: 3.473 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009685/0.1549, allocations: 0.6306 MB / 0.557 GB, free: 2.836 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.1549, allocations: 4.688 kB / 0.557 GB, free: 2.832 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.1549, allocations: 8 kB / 0.557 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.1549, allocations: 12 kB / 0.557 GB, free: 2.812 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004446/0.1554, allocations: 111.8 kB / 0.5571 GB, free: 2.703 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/0.1554, allocations: 11.98 kB / 0.5571 GB, free: 2.691 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002287/0.1556, allocations: 19.98 kB / 0.5572 GB, free: 2.672 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.233e-05/0.1557, allocations: 24 kB / 0.5572 GB, free: 2.648 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 55 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002606/0.1559, allocations: 229.4 kB / 0.5574 GB, free: 2.414 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.928e-05/0.156, allocations: 35.77 kB / 0.5574 GB, free: 2.379 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008319/0.1569, allocations: 0.4935 MB / 0.5579 GB, free: 1.879 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.479e-05/0.1569, allocations: 15.98 kB / 0.5579 GB, free: 1.863 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1569, allocations: 0 / 0.5579 GB, free: 1.863 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1569, allocations: 0 / 0.5579 GB, free: 1.863 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/0.1587, allocations: 1.093 MB / 0.559 GB, free: 0.707 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.1588, allocations: 8.094 kB / 0.559 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003634/0.1591, allocations: 75.88 kB / 0.5591 GB, free: 0.625 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.1591, allocations: 4 kB / 0.5591 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.1592, allocations: 8 kB / 0.5591 GB, free: 0.6133 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.1592, allocations: 3.938 kB / 0.5591 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.1592, allocations: 4 kB / 0.5591 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.1603, allocations: 0.8323 MB / 0.5599 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.1604, allocations: 105 kB / 0.56 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.291e-05/0.1605, allocations: 8 kB / 0.56 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.1607, allocations: 24 kB / 0.56 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.1608, allocations: 31.84 kB / 0.5601 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.1608, allocations: 11.98 kB / 0.5601 GB, free: 15.55 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002863/0.1611, allocations: 215.1 kB / 0.5603 GB, free: 15.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1611, allocations: 0 / 0.5603 GB, free: 15.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005697/0.1616, allocations: 111.9 kB / 0.5604 GB, free: 15.23 MB / 430.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001889/0.1635, allocations: 1.396 MB / 0.5618 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008941/0.1644, allocations: 476.7 kB / 0.5622 GB, free: 13.33 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/0.1644, allocations: 4.062 kB / 0.5622 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003066/0.1647, allocations: 204.3 kB / 0.5624 GB, free: 13.12 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005736/0.1653, allocations: 71.69 kB / 0.5625 GB, free: 13.06 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006026/0.1713, allocations: 4.413 MB / 0.5668 GB, free: 8.402 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005875/0.1719, allocations: 0.8704 MB / 0.5676 GB, free: 7.504 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003265/0.1723, allocations: 123.2 kB / 0.5677 GB, free: 7.383 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.1725, allocations: 139.4 kB / 0.5679 GB, free: 7.246 MB / 430.1 MB Notification: Performance of SimCode: time 9.02e-07/0.1725, allocations: 0 / 0.5679 GB, free: 7.246 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02896/0.2015, allocations: 8.053 MB / 0.5757 GB, free: 15.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.851/9.052, allocations: 7.562 kB / 0.5758 GB, free: 15.3 MB / 446.1 MB " [Timeout remaining time 651] (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/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_ReferenceSynchron_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_ReferenceSynchron.fmu > PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.146559496992268] Failed to read output from testmodel.py, exit status != 0: 9.18590885901358 9.210744088 9.06731867 Calling exit ...