Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.001587/0.001587, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001992/0.001992, allocations: 213.4 kB / 23.74 MB, free: 4.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.558/1.558, allocations: 230.6 MB / 257.5 MB, free: 8.023 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.2041/0.2041, allocations: 38.53 MB / 352.5 MB, free: 12.58 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.AC3ph.Precalculation.EqCircFromTransDat,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat",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.002359/0.002359, allocations: 67.03 kB / 492.5 MB, free: 4.906 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3884, allocations: 62.47 MB / 0.542 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.00393/0.3923, allocations: 2.258 MB / 0.5442 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003595/0.3959, allocations: 2.11 MB / 0.5463 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.33e-05/0.396, allocations: 7.938 kB / 0.5463 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.3961, allocations: 13.28 kB / 0.5463 GB, free: 13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.3962, allocations: 37.44 kB / 0.5463 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002803/0.399, allocations: 0.9592 MB / 0.5473 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.3992, allocations: 97.45 kB / 0.5474 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.303e-05/0.3993, allocations: 10.14 kB / 0.5474 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.3995, allocations: 55.56 kB / 0.5474 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.3996, allocations: 61.16 kB / 0.5475 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.3996, allocations: 6.406 kB / 0.5475 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004189/0.4038, allocations: 2.179 MB / 0.5496 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.691e-05/0.4039, allocations: 32.23 kB / 0.5496 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.763e-05/0.404, allocations: 33.97 kB / 0.5497 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002472/0.4064, allocations: 1.366 MB / 0.551 GB, free: 9.867 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.4065, allocations: 1.25 kB / 0.551 GB, free: 9.867 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4065, allocations: 4 kB / 0.551 GB, free: 9.863 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.4065, allocations: 0 / 0.551 GB, free: 9.863 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008607/0.4073, allocations: 494.2 kB / 0.5515 GB, free: 9.418 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.4074, allocations: 14.02 kB / 0.5515 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.785e-05/0.4075, allocations: 61.94 kB / 0.5516 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.147e-05/0.4075, allocations: 23.39 kB / 0.5516 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.4078, allocations: 151.9 kB / 0.5517 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.4079, allocations: 10.59 kB / 0.5517 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.4079, allocations: 5.219 kB / 0.5517 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.4082, allocations: 135.4 kB / 0.5519 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.4082, allocations: 0 / 0.5519 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.4082, allocations: 1.156 kB / 0.5519 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.4082, allocations: 2.312 kB / 0.5519 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002189/0.4084, allocations: 70.34 kB / 0.5519 GB, free: 9.066 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005569/0.409, allocations: 325.3 kB / 0.5523 GB, free: 8.762 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.4091, allocations: 66.39 kB / 0.5523 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.596e-05/0.4092, allocations: 47.08 kB / 0.5524 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.838e-06/0.4092, allocations: 1.5 kB / 0.5524 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.4092, allocations: 30.56 kB / 0.5524 GB, free: 8.652 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.4092, allocations: 1.469 kB / 0.5524 GB, free: 8.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005286/0.4097, allocations: 219.9 kB / 0.5526 GB, free: 8.539 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.374e-05/0.4098, allocations: 88.86 kB / 0.5527 GB, free: 8.441 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.41, allocations: 157.4 kB / 0.5528 GB, free: 8.312 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.452e-05/0.41, allocations: 26.77 kB / 0.5529 GB, free: 8.281 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.144e-05/0.4101, allocations: 130.5 kB / 0.553 GB, free: 8.156 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.198e-05/0.4102, allocations: 41.33 kB / 0.553 GB, free: 8.121 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/0.4102, allocations: 22.75 kB / 0.5531 GB, free: 8.102 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.4104, allocations: 321.9 kB / 0.5534 GB, free: 7.781 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.608e-05/0.4104, allocations: 43.22 kB / 0.5534 GB, free: 7.766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.928e-05/0.4105, allocations: 38.88 kB / 0.5534 GB, free: 7.754 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.4107, allocations: 175.9 kB / 0.5536 GB, free: 7.648 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4107, allocations: 0 / 0.5536 GB, free: 7.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002463/0.4109, allocations: 195 kB / 0.5538 GB, free: 7.527 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.878e-05/0.411, allocations: 47.83 kB / 0.5538 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.411, allocations: 0 / 0.5538 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.411, allocations: 1.281 kB / 0.5538 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.283e-06/0.411, allocations: 0 / 0.5538 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.411, allocations: 0 / 0.5538 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.148e-05/0.4111, allocations: 11.23 kB / 0.5538 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.4111, allocations: 5.625 kB / 0.5539 GB, free: 7.48 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001531/0.4113, allocations: 175.8 kB / 0.554 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.4113, allocations: 16.48 kB / 0.554 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.669e-05/0.4113, allocations: 15.08 kB / 0.5541 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.4113, allocations: 1.281 kB / 0.5541 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.4113, allocations: 0 / 0.5541 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.4113, allocations: 0 / 0.5541 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.4116, allocations: 184.4 kB / 0.5542 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4116, allocations: 0 / 0.5542 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.72e-07/0.4116, allocations: 0 / 0.5542 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.4116, allocations: 1.125 kB / 0.5542 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.4116, allocations: 3.281 kB / 0.5542 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4116, allocations: 1.094 kB / 0.5542 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.4116, allocations: 11.98 kB / 0.5542 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004396/0.412, allocations: 373.5 kB / 0.5546 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.111e-05/0.4121, allocations: 11.48 kB / 0.5546 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.4121, allocations: 3.219 kB / 0.5546 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.649e-05/0.4121, allocations: 2.344 kB / 0.5546 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.516e-05/0.4122, allocations: 6.125 kB / 0.5546 GB, free: 6.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.4122, allocations: 12.61 kB / 0.5546 GB, free: 6.816 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.609e-05/0.4123, allocations: 121.6 kB / 0.5548 GB, free: 6.719 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4123, allocations: 0 / 0.5548 GB, free: 6.719 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001248/0.4135, allocations: 338.9 kB / 0.5551 GB, free: 6.66 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.001953/0.4155, allocations: 1.274 MB / 0.5563 GB, free: 5.512 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003642/0.4158, allocations: 239.2 kB / 0.5565 GB, free: 5.266 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4159, allocations: 4 kB / 0.5566 GB, free: 5.262 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.416, allocations: 159.3 kB / 0.5567 GB, free: 5.094 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.4164, allocations: 16 kB / 0.5567 GB, free: 5.078 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002983/0.4194, allocations: 2.324 MB / 0.559 GB, free: 2.672 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004748/0.4199, allocations: 0.7353 MB / 0.5597 GB, free: 1.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.086e-05/0.4199, allocations: 0 / 0.5597 GB, free: 1.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.673e-05/0.4199, allocations: 39.42 kB / 0.5597 GB, free: 1.871 MB / 398.1 MB Notification: Performance of SimCode: time 1.282e-06/0.4199, allocations: 0 / 0.5597 GB, free: 1.871 MB / 398.1 MB [CodegenCFunctions.tpl:5647:13-5647:13:writable] Error: Template error: This should have been handled in indexed assign and should not have gotten here. eigenvalues[:,2]. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.1820810529970913] Failed to read output from testmodel.py, exit status != 0: 0.45621331599977566 0.47346585199999996 0.06359925400000001 Calling exit ...