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.001283/0.001283, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001425/0.001425, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.491/1.491, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.2244/0.2244, allocations: 38.55 MB / 353.2 MB, free: 12.3 MB / 286.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.002036/0.002036, allocations: 67.91 kB / 493.3 MB, free: 4.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3881, allocations: 62.46 MB / 0.5427 GB, free: 240 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.0065/0.3946, allocations: 4.324 MB / 0.5469 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002685/0.3973, allocations: 1.381 MB / 0.5483 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001934/0.3975, allocations: 21 kB / 0.5483 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.3987, allocations: 375.8 kB / 0.5486 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006176/0.3993, allocations: 252.4 kB / 0.5489 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009117/0.4002, allocations: 252.9 kB / 0.5491 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009284/0.4012, allocations: 0.5541 MB / 0.5497 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004584/0.4016, allocations: 220.1 kB / 0.5499 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004662/0.4021, allocations: 279.6 kB / 0.5501 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005891/0.4027, allocations: 377.1 kB / 0.5505 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.41e-05/0.4028, allocations: 40 kB / 0.5505 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004977/0.4033, allocations: 229.6 kB / 0.5508 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002912/0.4036, allocations: 254.7 kB / 0.551 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003335/0.4039, allocations: 213.5 kB / 0.5512 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009572/0.4048, allocations: 0.6743 MB / 0.5519 GB, free: 9.539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.4048, allocations: 0 / 0.5519 GB, free: 9.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.4048, allocations: 5.531 kB / 0.5519 GB, free: 9.535 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.4049, allocations: 0 / 0.5519 GB, free: 9.535 MB / 398.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.001598/0.4065, allocations: 0.7243 MB / 0.5526 GB, free: 8.949 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.4065, allocations: 12.83 kB / 0.5526 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.778e-05/0.4065, allocations: 12.62 kB / 0.5526 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001179/0.4067, allocations: 84.3 kB / 0.5527 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007833/0.4074, allocations: 127.1 kB / 0.5528 GB, free: 8.809 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008141/0.4083, allocations: 357.3 kB / 0.5531 GB, free: 8.531 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.343e-05/0.4083, allocations: 40.77 kB / 0.5532 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.4084, allocations: 40.75 kB / 0.5532 GB, free: 8.496 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.4096, allocations: 0.679 MB / 0.5539 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.4097, allocations: 4.969 kB / 0.5539 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.277e-05/0.4097, allocations: 11.66 kB / 0.5539 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001885/0.4099, allocations: 49.38 kB / 0.5539 GB, free: 8.035 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.4111, allocations: 0.6743 MB / 0.5546 GB, free: 7.723 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004051/0.4151, allocations: 2.362 MB / 0.5569 GB, free: 5.453 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006291/0.4158, allocations: 309.1 kB / 0.5572 GB, free: 5.133 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003427/0.4161, allocations: 205.6 kB / 0.5574 GB, free: 4.926 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.406e-05/0.4161, allocations: 4 kB / 0.5574 GB, free: 4.922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.4162, allocations: 42.56 kB / 0.5574 GB, free: 4.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 1.854e-06/0.4162, allocations: 0 / 0.5574 GB, free: 4.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.002362/0.4185, allocations: 1.29 MB / 0.5587 GB, free: 3.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.86e-05/0.4186, allocations: 81.11 kB / 0.5588 GB, free: 3.445 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003627/0.419, allocations: 304.5 kB / 0.5591 GB, free: 3.137 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/0.419, allocations: 33.7 kB / 0.5591 GB, free: 3.098 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.4192, allocations: 260.2 kB / 0.5593 GB, free: 2.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.4194, allocations: 158.6 kB / 0.5595 GB, free: 2.684 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.4195, allocations: 98.14 kB / 0.5596 GB, free: 2.582 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.4197, allocations: 350.9 kB / 0.5599 GB, free: 2.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003215/0.42, allocations: 201 kB / 0.5601 GB, free: 2.035 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004646/0.4205, allocations: 365.5 kB / 0.5605 GB, free: 1.609 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008507/0.4213, allocations: 0.606 MB / 0.5611 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4213, allocations: 3.938 kB / 0.5611 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001041/0.4224, allocations: 0.6309 MB / 0.5617 GB, free: 300 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.4224, allocations: 8 kB / 0.5617 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.4224, allocations: 4 kB / 0.5617 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.4224, allocations: 8 kB / 0.5617 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004817/0.4229, allocations: 115.8 kB / 0.5618 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/0.4229, allocations: 8 kB / 0.5618 GB, free: 156 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.4232, allocations: 23.98 kB / 0.5618 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.718e-05/0.4232, allocations: 23.98 kB / 0.5619 GB, free: 108 kB / 398.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.0002959/0.4235, allocations: 213.8 kB / 0.5621 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.244e-05/0.4236, allocations: 43.75 kB / 0.5621 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008449/0.4245, allocations: 0.5041 MB / 0.5626 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-05/0.4245, allocations: 8 kB / 0.5626 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.4245, allocations: 4 kB / 0.5626 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.4245, allocations: 7.922 kB / 0.5626 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/0.4263, allocations: 1.03 MB / 0.5636 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.4263, allocations: 96 / 0.5636 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003756/0.4267, allocations: 71.89 kB / 0.5637 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.4267, allocations: 4 kB / 0.5637 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/0.4268, allocations: 15.98 kB / 0.5637 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.4268, allocations: 4 kB / 0.5637 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4268, allocations: 0 / 0.5637 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.428, allocations: 0.8401 MB / 0.5645 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-05/0.428, allocations: 27.77 kB / 0.5646 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.904e-05/0.4281, allocations: 8 kB / 0.5646 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.4283, allocations: 15.98 kB / 0.5646 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.167e-05/0.4284, allocations: 31.89 kB / 0.5646 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.994e-05/0.4284, allocations: 8 kB / 0.5646 GB, free: 13.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002375/0.4287, allocations: 219 kB / 0.5648 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4287, allocations: 3.938 kB / 0.5648 GB, free: 12.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005066/0.4292, allocations: 111.9 kB / 0.5649 GB, free: 12.84 MB / 414.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.001817/0.431, allocations: 1.389 MB / 0.5663 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009086/0.4319, allocations: 479.9 kB / 0.5668 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4319, allocations: 0 / 0.5668 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003537/0.4322, allocations: 204.5 kB / 0.567 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005356/0.4328, allocations: 71.44 kB / 0.567 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006115/0.4389, allocations: 4.411 MB / 0.5713 GB, free: 6.035 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.4393, allocations: 270.2 kB / 0.5716 GB, free: 5.75 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003427/0.4396, allocations: 123.1 kB / 0.5717 GB, free: 5.629 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002522/0.4398, allocations: 147.4 kB / 0.5718 GB, free: 5.484 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4398, allocations: 0 / 0.5718 GB, free: 5.484 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03585/0.4757, allocations: 8.446 MB / 0.5801 GB, free: 13.23 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.33, allocations: 8 kB / 0.5801 GB, free: 13.22 MB / 430.1 MB " [Timeout remaining time 648] (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: 15.332152785966173] Failed to read output from testmodel.py, exit status != 0: 12.501130532007664 12.525217759 12.116617549 Calling exit ...