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.001319/0.001319, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001454/0.001454, allocations: 214.4 kB / 23.74 MB, free: 4.656 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.51/1.51, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.2121/0.2121, allocations: 38.53 MB / 352.4 MB, free: 12.63 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.001989/0.001989, allocations: 63.91 kB / 492.6 MB, free: 4.891 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3377/0.3397, allocations: 62.47 MB / 0.542 GB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.003794/0.3435, allocations: 2.266 MB / 0.5442 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003936/0.3474, allocations: 2.11 MB / 0.5463 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.925e-05/0.3475, allocations: 0 / 0.5463 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.3477, allocations: 18.09 kB / 0.5463 GB, free: 13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.3479, allocations: 37.03 kB / 0.5463 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002997/0.3509, allocations: 0.959 MB / 0.5473 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.351, allocations: 101.9 kB / 0.5474 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.027e-05/0.3511, allocations: 14.19 kB / 0.5474 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.3513, allocations: 46.59 kB / 0.5474 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.3514, allocations: 63.12 kB / 0.5475 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.3514, allocations: 1.406 kB / 0.5475 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003685/0.3551, allocations: 2.183 MB / 0.5496 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.762e-05/0.3551, allocations: 32.25 kB / 0.5497 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.373e-05/0.3552, allocations: 32.97 kB / 0.5497 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001899/0.3571, allocations: 1.364 MB / 0.551 GB, free: 9.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.3571, allocations: 0 / 0.551 GB, free: 9.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3571, allocations: 0 / 0.551 GB, free: 9.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.3571, allocations: 0 / 0.551 GB, free: 9.875 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.0007539/0.3578, allocations: 497 kB / 0.5515 GB, free: 9.426 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.3579, allocations: 16.58 kB / 0.5515 GB, free: 9.418 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.823e-05/0.358, allocations: 61.88 kB / 0.5516 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.06e-05/0.358, allocations: 24.11 kB / 0.5516 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.3582, allocations: 148.3 kB / 0.5517 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.3582, allocations: 6.531 kB / 0.5517 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.3583, allocations: 8.562 kB / 0.5517 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.3585, allocations: 128.6 kB / 0.5519 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3585, allocations: 0 / 0.5519 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.3585, allocations: 1.219 kB / 0.5519 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.3585, allocations: 1.906 kB / 0.5519 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.3587, allocations: 69.59 kB / 0.5519 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004867/0.3591, allocations: 330.5 kB / 0.5523 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.3593, allocations: 66.02 kB / 0.5523 GB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.801e-05/0.3594, allocations: 44.17 kB / 0.5524 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.876e-06/0.3594, allocations: 0 / 0.5524 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.3594, allocations: 32.38 kB / 0.5524 GB, free: 8.664 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 8.42e-07/0.3594, allocations: 0 / 0.5524 GB, free: 8.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004145/0.3598, allocations: 224.2 kB / 0.5526 GB, free: 8.547 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.073e-05/0.3599, allocations: 100.8 kB / 0.5527 GB, free: 8.438 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.3601, allocations: 150.3 kB / 0.5528 GB, free: 8.316 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.3601, allocations: 29.64 kB / 0.5529 GB, free: 8.281 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.3602, allocations: 118.4 kB / 0.553 GB, free: 8.168 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.166e-05/0.3602, allocations: 49.28 kB / 0.553 GB, free: 8.125 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.801e-05/0.3603, allocations: 25.67 kB / 0.5531 GB, free: 8.102 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.3605, allocations: 327.8 kB / 0.5534 GB, free: 7.777 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.588e-05/0.3605, allocations: 37.86 kB / 0.5534 GB, free: 7.766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.913e-05/0.3606, allocations: 38.38 kB / 0.5534 GB, free: 7.754 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.3608, allocations: 177 kB / 0.5536 GB, free: 7.648 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3608, allocations: 0 / 0.5536 GB, free: 7.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002549/0.3611, allocations: 183.3 kB / 0.5538 GB, free: 7.539 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.256e-05/0.3611, allocations: 55.17 kB / 0.5538 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3611, allocations: 0 / 0.5538 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3611, allocations: 0 / 0.5538 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/0.3611, allocations: 1.25 kB / 0.5538 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3611, allocations: 0 / 0.5538 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.303e-05/0.3612, allocations: 19.55 kB / 0.5539 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.3612, allocations: 4.125 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.0001709/0.3614, allocations: 176.4 kB / 0.554 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.3614, allocations: 12.27 kB / 0.554 GB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.107e-05/0.3615, allocations: 12.14 kB / 0.5541 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3615, allocations: 0 / 0.5541 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3615, allocations: 1.125 kB / 0.5541 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3615, allocations: 0 / 0.5541 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.3617, allocations: 184.3 kB / 0.5542 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3617, allocations: 0 / 0.5542 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.42e-07/0.3617, allocations: 4 kB / 0.5542 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3617, allocations: 0 / 0.5542 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.3617, allocations: 4.312 kB / 0.5542 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.3617, allocations: 4 kB / 0.5542 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.3617, allocations: 5.453 kB / 0.5542 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004457/0.3622, allocations: 364.6 kB / 0.5546 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.233e-05/0.3622, allocations: 12.36 kB / 0.5546 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.3622, allocations: 2.844 kB / 0.5546 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.92e-05/0.3623, allocations: 6.281 kB / 0.5546 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/0.3623, allocations: 13.98 kB / 0.5546 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.3623, allocations: 5.344 kB / 0.5546 GB, free: 6.828 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.93e-05/0.3624, allocations: 116.5 kB / 0.5547 GB, free: 6.734 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3624, allocations: 0 / 0.5547 GB, free: 6.734 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001154/0.3636, allocations: 338.5 kB / 0.5551 GB, free: 6.676 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.001894/0.3655, allocations: 1.283 MB / 0.5563 GB, free: 5.492 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003658/0.3658, allocations: 243.2 kB / 0.5566 GB, free: 5.242 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3658, allocations: 3.938 kB / 0.5566 GB, free: 5.238 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.366, allocations: 155.3 kB / 0.5567 GB, free: 5.074 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.3664, allocations: 26.2 kB / 0.5567 GB, free: 5.051 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002799/0.3692, allocations: 2.327 MB / 0.559 GB, free: 2.645 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.3696, allocations: 0.7236 MB / 0.5597 GB, free: 1.895 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.455e-05/0.3696, allocations: 3.984 kB / 0.5597 GB, free: 1.891 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.281e-05/0.3697, allocations: 35.44 kB / 0.5597 GB, free: 1.855 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3697, allocations: 0 / 0.5597 GB, free: 1.855 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.069122791988775] Failed to read output from testmodel.py, exit status != 0: 0.4052348588593304 0.422134223 0.06170893400000001 Calling exit ...