Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.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.001285/0.001285, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001558/0.001558, allocations: 209.7 kB / 23.73 MB, free: 4.387 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 / 257.5 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.2133/0.2133, allocations: 38.56 MB / 352.5 MB, free: 12.27 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.InitialSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState",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.002078/0.002078, allocations: 71.88 kB / 492.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3488, allocations: 62.47 MB / 0.5419 GB, free: 212 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.006773/0.3555, allocations: 4.322 MB / 0.5462 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002946/0.3585, allocations: 1.384 MB / 0.5475 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002674/0.3588, allocations: 20.62 kB / 0.5475 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.36, allocations: 370.8 kB / 0.5479 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000687/0.3607, allocations: 256.8 kB / 0.5481 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008275/0.3615, allocations: 242.1 kB / 0.5484 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000841/0.3623, allocations: 0.5622 MB / 0.5489 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004573/0.3628, allocations: 220 kB / 0.5491 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005112/0.3633, allocations: 271.1 kB / 0.5494 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005749/0.3639, allocations: 366.5 kB / 0.5497 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.206e-05/0.3639, allocations: 39.41 kB / 0.5498 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005384/0.3645, allocations: 234.1 kB / 0.55 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002917/0.3648, allocations: 245.6 kB / 0.5502 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003447/0.3651, allocations: 212.3 kB / 0.5504 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009587/0.3661, allocations: 0.6787 MB / 0.5511 GB, free: 9.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.3661, allocations: 3.984 kB / 0.5511 GB, free: 9.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3661, allocations: 0 / 0.5511 GB, free: 9.539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.3661, allocations: 4 kB / 0.5511 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.001668/0.3678, allocations: 0.7127 MB / 0.5518 GB, free: 8.961 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.3678, allocations: 14.05 kB / 0.5518 GB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001269/0.3679, allocations: 87.61 kB / 0.5519 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008255/0.3688, allocations: 122.2 kB / 0.552 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008645/0.3696, allocations: 361.5 kB / 0.5523 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.871e-05/0.3697, allocations: 32.58 kB / 0.5524 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/0.3699, allocations: 54.88 kB / 0.5524 GB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.3712, allocations: 0.6739 MB / 0.5531 GB, free: 8.078 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.3712, allocations: 1.062 kB / 0.5531 GB, free: 8.078 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.576e-05/0.3713, allocations: 16.44 kB / 0.5531 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002015/0.3715, allocations: 57.66 kB / 0.5532 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.3727, allocations: 0.6664 MB / 0.5538 GB, free: 7.738 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003984/0.3767, allocations: 2.288 MB / 0.556 GB, free: 5.539 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006045/0.3773, allocations: 321.7 kB / 0.5563 GB, free: 5.207 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000378/0.3777, allocations: 222 kB / 0.5566 GB, free: 4.984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.32e-05/0.3777, allocations: 12.27 kB / 0.5566 GB, free: 4.973 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.3778, allocations: 38.78 kB / 0.5566 GB, free: 4.926 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.594e-06/0.3778, allocations: 0 / 0.5566 GB, free: 4.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002723/0.3805, allocations: 1.409 MB / 0.558 GB, free: 3.484 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/0.3806, allocations: 93.05 kB / 0.5581 GB, free: 3.375 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003516/0.3809, allocations: 292.1 kB / 0.5584 GB, free: 3.078 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4e-05/0.381, allocations: 37.69 kB / 0.5584 GB, free: 3.035 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.3812, allocations: 244.3 kB / 0.5586 GB, free: 2.793 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.3813, allocations: 166.6 kB / 0.5588 GB, free: 2.629 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.3815, allocations: 98.14 kB / 0.5589 GB, free: 2.527 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.3817, allocations: 346.8 kB / 0.5592 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000354/0.382, allocations: 217 kB / 0.5594 GB, free: 1.969 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005853/0.3826, allocations: 372.1 kB / 0.5598 GB, free: 1.551 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009309/0.3835, allocations: 0.6239 MB / 0.5604 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3835, allocations: 0 / 0.5604 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001427/0.385, allocations: 0.7278 MB / 0.5611 GB, free: 136 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.385, allocations: 8 kB / 0.5611 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009956/0.386, allocations: 0.5147 MB / 0.5616 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003658/0.3863, allocations: 76.78 kB / 0.5617 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004655/0.3868, allocations: 103.8 kB / 0.5618 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002069/0.3889, allocations: 1.62 MB / 0.5634 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003401/0.3892, allocations: 31.97 kB / 0.5634 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.494e-05/0.3893, allocations: 23.94 kB / 0.5634 GB, free: 13.63 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (54): * Single equations (assignments): 51 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003384/0.3896, allocations: 213.7 kB / 0.5636 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.3897, allocations: 39.7 kB / 0.5636 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.3908, allocations: 0.5707 MB / 0.5642 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.459e-05/0.3908, allocations: 11.98 kB / 0.5642 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.3908, allocations: 0 / 0.5642 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.066e-06/0.3908, allocations: 4 kB / 0.5642 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002152/0.3929, allocations: 1.122 MB / 0.5653 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.3929, allocations: 0 / 0.5653 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000421/0.3934, allocations: 95.81 kB / 0.5654 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3934, allocations: 0 / 0.5654 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.388e-05/0.3934, allocations: 12.09 kB / 0.5654 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.3934, allocations: 4 kB / 0.5654 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.3934, allocations: 7.984 kB / 0.5654 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.3948, allocations: 0.924 MB / 0.5663 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.184e-05/0.3948, allocations: 39.8 kB / 0.5664 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.496e-05/0.3949, allocations: 8 kB / 0.5664 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/0.3951, allocations: 19.97 kB / 0.5664 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.422e-05/0.3952, allocations: 31.89 kB / 0.5664 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.328e-05/0.3952, allocations: 12 kB / 0.5664 GB, free: 10.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002207/0.3955, allocations: 203.1 kB / 0.5666 GB, free: 10.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3955, allocations: 4 kB / 0.5666 GB, free: 10.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005674/0.396, allocations: 119.9 kB / 0.5667 GB, free: 10.11 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 (39): * Single equations (assignments): 36 * 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.00188/0.3979, allocations: 1.514 MB / 0.5682 GB, free: 8.555 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001238/0.3991, allocations: 0.6375 MB / 0.5688 GB, free: 7.906 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3991, allocations: 0 / 0.5688 GB, free: 7.906 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003794/0.3995, allocations: 231.5 kB / 0.5691 GB, free: 7.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000553/0.4001, allocations: 78.94 kB / 0.5691 GB, free: 7.609 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006934/0.407, allocations: 4.583 MB / 0.5736 GB, free: 2.793 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.4073, allocations: 270.4 kB / 0.5739 GB, free: 2.508 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003787/0.4077, allocations: 131.1 kB / 0.574 GB, free: 2.379 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/0.408, allocations: 143.4 kB / 0.5741 GB, free: 2.238 MB / 414.1 MB Notification: Performance of SimCode: time 1.302e-06/0.408, allocations: 3.938 kB / 0.5741 GB, free: 2.234 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04504/0.4531, allocations: 9.314 MB / 0.5832 GB, free: 9.086 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.27, allocations: 3.938 kB / 0.5832 GB, free: 9.082 MB / 430.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_InitialSteadyState.fmu > PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.192286242265254] Failed to read output from testmodel.py, exit status != 0: 12.384571615140885 12.399817513 12.030483864 Calling exit ...