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.001427/0.001427, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.00168/0.00168, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.523/1.523, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.1906/0.1906, allocations: 38.52 MB / 352.4 MB, free: 12.53 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.ReferenceSynchron,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_ReferenceSynchron",fmuType="me",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.002933/0.002933, allocations: 63.91 kB / 492.5 MB, free: 4.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.3958, allocations: 62.46 MB / 0.542 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.007093/0.4029, allocations: 4.582 MB / 0.5465 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003279/0.4062, allocations: 1.502 MB / 0.5479 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003105/0.4065, allocations: 20.53 kB / 0.5479 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.4077, allocations: 390.4 kB / 0.5483 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006773/0.4084, allocations: 251.6 kB / 0.5486 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007497/0.4091, allocations: 245.3 kB / 0.5488 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008439/0.41, allocations: 0.5579 MB / 0.5493 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004608/0.4104, allocations: 233 kB / 0.5496 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005863/0.411, allocations: 267.1 kB / 0.5498 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000632/0.4117, allocations: 386 kB / 0.5502 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.926e-05/0.4117, allocations: 38.97 kB / 0.5502 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000586/0.4123, allocations: 247.5 kB / 0.5505 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002442/0.4126, allocations: 245.2 kB / 0.5507 GB, free: 9.855 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002693/0.4128, allocations: 252.8 kB / 0.5509 GB, free: 9.691 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008596/0.4137, allocations: 0.6849 MB / 0.5516 GB, free: 9.246 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.4137, allocations: 3.984 kB / 0.5516 GB, free: 9.242 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.4137, allocations: 1.094 kB / 0.5516 GB, free: 9.242 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.497e-06/0.4137, allocations: 0 / 0.5516 GB, free: 9.242 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.001553/0.4153, allocations: 0.7148 MB / 0.5523 GB, free: 8.668 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.4153, allocations: 13.17 kB / 0.5523 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001214/0.4154, allocations: 88.45 kB / 0.5524 GB, free: 8.586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007666/0.4162, allocations: 120 kB / 0.5525 GB, free: 8.531 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007945/0.417, allocations: 360.5 kB / 0.5529 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.417, allocations: 37.17 kB / 0.5529 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.4172, allocations: 48.7 kB / 0.5529 GB, free: 8.211 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.4183, allocations: 0.6714 MB / 0.5536 GB, free: 7.781 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/0.4183, allocations: 6.281 kB / 0.5536 GB, free: 7.777 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.152e-05/0.4184, allocations: 15.62 kB / 0.5536 GB, free: 7.766 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001834/0.4186, allocations: 53.83 kB / 0.5537 GB, free: 7.746 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.4197, allocations: 0.6743 MB / 0.5543 GB, free: 7.438 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003948/0.4237, allocations: 2.445 MB / 0.5567 GB, free: 5.172 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005815/0.4242, allocations: 321.1 kB / 0.557 GB, free: 4.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003127/0.4246, allocations: 201.7 kB / 0.5572 GB, free: 4.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.764e-05/0.4246, allocations: 7.938 kB / 0.5572 GB, free: 4.629 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.4246, allocations: 42.56 kB / 0.5573 GB, free: 4.578 MB / 398.1 MB Notification: Performance of pre-optimization done (n=42): time 2.686e-06/0.4246, allocations: 0 / 0.5573 GB, free: 4.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=43): time 0.002165/0.4268, allocations: 1.287 MB / 0.5585 GB, free: 3.254 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/0.4269, allocations: 81.11 kB / 0.5586 GB, free: 3.156 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.4272, allocations: 304.5 kB / 0.5589 GB, free: 2.848 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.4272, allocations: 33.64 kB / 0.5589 GB, free: 2.809 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.4274, allocations: 260.3 kB / 0.5592 GB, free: 2.551 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.4276, allocations: 166.6 kB / 0.5593 GB, free: 2.387 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.4277, allocations: 98.14 kB / 0.5594 GB, free: 2.285 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.4279, allocations: 350.8 kB / 0.5597 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003119/0.4282, allocations: 193 kB / 0.5599 GB, free: 1.746 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004526/0.4286, allocations: 369.5 kB / 0.5603 GB, free: 1.316 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008131/0.4294, allocations: 0.6021 MB / 0.5609 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4294, allocations: 0 / 0.5609 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001005/0.4304, allocations: 0.6382 MB / 0.5615 GB, free: 0 / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.091e-05/0.4305, allocations: 8.047 kB / 0.5615 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.4305, allocations: 4 kB / 0.5615 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.4305, allocations: 8.688 kB / 0.5615 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004965/0.431, allocations: 119.8 kB / 0.5616 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.431, allocations: 8 kB / 0.5616 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.4313, allocations: 19.98 kB / 0.5617 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.184e-05/0.4313, allocations: 27.98 kB / 0.5617 GB, free: 15.81 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.0002775/0.4316, allocations: 205.7 kB / 0.5619 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.546e-05/0.4317, allocations: 43.69 kB / 0.5619 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000837/0.4325, allocations: 0.5002 MB / 0.5624 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.422e-05/0.4326, allocations: 12 kB / 0.5624 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.4326, allocations: 0 / 0.5624 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.4326, allocations: 11.92 kB / 0.5624 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.4345, allocations: 1.061 MB / 0.5635 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.4345, allocations: 3.984 kB / 0.5635 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003678/0.4348, allocations: 79.98 kB / 0.5635 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.4348, allocations: 4 kB / 0.5636 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.4349, allocations: 8 kB / 0.5636 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.4349, allocations: 4 kB / 0.5636 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.4349, allocations: 7.875 kB / 0.5636 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.436, allocations: 0.8245 MB / 0.5644 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.523e-05/0.4361, allocations: 31.77 kB / 0.5644 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.597e-05/0.4362, allocations: 8 kB / 0.5644 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.4364, allocations: 20.02 kB / 0.5644 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.4364, allocations: 27.84 kB / 0.5645 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.4364, allocations: 11.98 kB / 0.5645 GB, free: 12.85 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002329/0.4367, allocations: 211.1 kB / 0.5647 GB, free: 12.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4367, allocations: 4 kB / 0.5647 GB, free: 12.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005267/0.4372, allocations: 115.9 kB / 0.5648 GB, free: 12.52 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.001589/0.4388, allocations: 1.389 MB / 0.5661 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007725/0.4396, allocations: 472.4 kB / 0.5666 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.4396, allocations: 4 kB / 0.5666 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003233/0.4399, allocations: 208.8 kB / 0.5668 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005282/0.4404, allocations: 71.73 kB / 0.5669 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005892/0.4463, allocations: 4.4 MB / 0.5712 GB, free: 5.723 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000551/0.4469, allocations: 0.8704 MB / 0.572 GB, free: 4.824 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003209/0.4472, allocations: 131.1 kB / 0.5721 GB, free: 4.699 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.4474, allocations: 139.4 kB / 0.5723 GB, free: 4.562 MB / 414.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4474, allocations: 0 / 0.5723 GB, free: 4.562 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04089/0.4883, allocations: 8.474 MB / 0.5805 GB, free: 12.22 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12, allocations: 6.438 kB / 0.5806 GB, free: 12.21 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: 14.915155808907002] Failed to read output from testmodel.py, exit status != 0: 12.11160939000547 12.134425038 11.716138862 Calling exit ...