Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.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.001368/0.001368, allocations: 105.1 kB / 21.22 MB, free: 0.5078 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.001551/0.001551, allocations: 214.9 kB / 24.51 MB, free: 3.688 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.486/1.486, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.1847/0.1847, allocations: 38.55 MB / 353.2 MB, free: 12.4 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.ReferenceInertial,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_ReferenceInertial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.ReferenceInertial,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_ReferenceInertial",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.002071/0.002071, allocations: 67.91 kB / 493.2 MB, free: 4.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3583, allocations: 62.46 MB / 0.5427 GB, free: 268 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.00647/0.3647, allocations: 4.335 MB / 0.5469 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002905/0.3676, allocations: 1.377 MB / 0.5483 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002982/0.3679, allocations: 20.84 kB / 0.5483 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.3691, allocations: 362.8 kB / 0.5486 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006905/0.3698, allocations: 225.4 kB / 0.5488 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008298/0.3706, allocations: 253.9 kB / 0.5491 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007162/0.3713, allocations: 0.5337 MB / 0.5496 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003915/0.3717, allocations: 223.8 kB / 0.5498 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000475/0.3722, allocations: 260.9 kB / 0.5501 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005059/0.3727, allocations: 320.2 kB / 0.5504 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.771e-05/0.3728, allocations: 32.34 kB / 0.5504 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000353/0.3731, allocations: 152.4 kB / 0.5505 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002501/0.3734, allocations: 224.2 kB / 0.5508 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002845/0.3737, allocations: 196.8 kB / 0.551 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008063/0.3745, allocations: 0.5797 MB / 0.5515 GB, free: 9.762 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3745, allocations: 5.094 kB / 0.5515 GB, free: 9.758 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3745, allocations: 0 / 0.5515 GB, free: 9.758 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.3745, allocations: 0 / 0.5515 GB, free: 9.758 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001345/0.3758, allocations: 0.6738 MB / 0.5522 GB, free: 9.207 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.3759, allocations: 14.48 kB / 0.5522 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.776e-05/0.3759, allocations: 11 kB / 0.5522 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001236/0.376, allocations: 86.98 kB / 0.5523 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007265/0.3767, allocations: 119.2 kB / 0.5524 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006848/0.3774, allocations: 336.4 kB / 0.5527 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.802e-05/0.3775, allocations: 38.36 kB / 0.5528 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.3776, allocations: 52.67 kB / 0.5528 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.3786, allocations: 0.625 MB / 0.5534 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.3786, allocations: 1.219 kB / 0.5534 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.964e-05/0.3787, allocations: 25.86 kB / 0.5534 GB, free: 8.285 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001172/0.3788, allocations: 28.52 kB / 0.5535 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007575/0.3796, allocations: 480.2 kB / 0.5539 GB, free: 8.059 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003891/0.3835, allocations: 2.743 MB / 0.5566 GB, free: 5.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004732/0.3839, allocations: 210.6 kB / 0.5568 GB, free: 5.516 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.3842, allocations: 141.6 kB / 0.5569 GB, free: 5.371 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.3842, allocations: 4 kB / 0.5569 GB, free: 5.367 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.3842, allocations: 34.56 kB / 0.557 GB, free: 5.324 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 2.084e-06/0.3842, allocations: 0 / 0.557 GB, free: 5.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001917/0.3862, allocations: 0.8992 MB / 0.5579 GB, free: 4.391 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.3862, allocations: 85.17 kB / 0.5579 GB, free: 4.289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004275/0.3866, allocations: 332.4 kB / 0.5583 GB, free: 3.957 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.3867, allocations: 29.7 kB / 0.5583 GB, free: 3.922 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002185/0.3869, allocations: 288 kB / 0.5586 GB, free: 3.637 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.423e-05/0.387, allocations: 103.1 kB / 0.5587 GB, free: 3.535 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.3871, allocations: 94.14 kB / 0.5587 GB, free: 3.438 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.3873, allocations: 350.7 kB / 0.5591 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.3876, allocations: 144.9 kB / 0.5592 GB, free: 2.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004707/0.388, allocations: 346.6 kB / 0.5596 GB, free: 2.516 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007337/0.3888, allocations: 0.513 MB / 0.5601 GB, free: 1.91 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.3888, allocations: 0 / 0.5601 GB, free: 1.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008838/0.3897, allocations: 0.5324 MB / 0.5606 GB, free: 1.371 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.3897, allocations: 8 kB / 0.5606 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.3897, allocations: 8 kB / 0.5606 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/0.3897, allocations: 8 kB / 0.5606 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005301/0.3902, allocations: 124.4 kB / 0.5607 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/0.3903, allocations: 11.94 kB / 0.5607 GB, free: 1.215 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002567/0.3905, allocations: 35.97 kB / 0.5608 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-05/0.3906, allocations: 20 kB / 0.5608 GB, free: 1.16 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (58): * Single equations (assignments): 58 * Array equations: 0 * 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.000277/0.3908, allocations: 214 kB / 0.561 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.957e-05/0.3909, allocations: 35.77 kB / 0.561 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007672/0.3917, allocations: 362.2 kB / 0.5614 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.3917, allocations: 4 kB / 0.5614 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.3917, allocations: 4 kB / 0.5614 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.3917, allocations: 3.984 kB / 0.5614 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.3933, allocations: 0.8398 MB / 0.5622 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.3933, allocations: 0 / 0.5622 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003376/0.3936, allocations: 63.89 kB / 0.5623 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.822e-06/0.3936, allocations: 7.938 kB / 0.5623 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.961e-05/0.3936, allocations: 11.94 kB / 0.5623 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.3937, allocations: 7.938 kB / 0.5623 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3937, allocations: 0 / 0.5623 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000857/0.3945, allocations: 0.582 MB / 0.5628 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.414e-05/0.3946, allocations: 27.91 kB / 0.5629 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.827e-05/0.3946, allocations: 19.97 kB / 0.5629 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.3948, allocations: 8 kB / 0.5629 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.311e-05/0.3949, allocations: 27.89 kB / 0.5629 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.788e-05/0.3949, allocations: 12 kB / 0.5629 GB, free: 14.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002534/0.3952, allocations: 215.1 kB / 0.5631 GB, free: 14.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3952, allocations: 0 / 0.5631 GB, free: 14.62 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005114/0.3957, allocations: 95.98 kB / 0.5632 GB, free: 14.53 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 (31): * Single equations (assignments): 30 * Array equations: 0 * 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.001463/0.3971, allocations: 1.138 MB / 0.5643 GB, free: 13.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007591/0.3979, allocations: 347.5 kB / 0.5647 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.3979, allocations: 1.812 kB / 0.5647 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.3981, allocations: 132.8 kB / 0.5648 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005779/0.3987, allocations: 74.33 kB / 0.5649 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005488/0.4042, allocations: 3.995 MB / 0.5688 GB, free: 8.539 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.4045, allocations: 265.6 kB / 0.569 GB, free: 8.258 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003915/0.4049, allocations: 131.1 kB / 0.5692 GB, free: 8.129 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002658/0.4052, allocations: 139.4 kB / 0.5693 GB, free: 7.996 MB / 414.1 MB Notification: Performance of SimCode: time 1.794e-06/0.4052, allocations: 0 / 0.5693 GB, free: 7.996 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03247/0.4376, allocations: 7.614 MB / 0.5767 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.2, allocations: 3.875 kB / 0.5767 GB, free: 0.5625 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_ReferenceInertial_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_ReferenceInertial.fmu > PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.08049794496037] Failed to read output from testmodel.py, exit status != 0: 12.373650469002314 12.390241835 12.012383757 Calling exit ...