Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001322/0.001322, allocations: 111.1 kB / 20.44 MB, free: 1.051 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.0018/0.0018, allocations: 214.8 kB / 23.73 MB, free: 4.148 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.533/1.533, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1866/0.1866, allocations: 38.56 MB / 352.5 MB, free: 12.31 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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_latest_PowerSystems_Examples_AC3ph_Precalculation_EqCircFromTransDat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,fileNamePrefix="PowerSystems_latest_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.002172/0.002172, allocations: 63.91 kB / 492.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3522, allocations: 62.47 MB / 0.542 GB, free: 244 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.003841/0.356, allocations: 2.22 MB / 0.5441 GB, free: 14.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003679/0.3597, allocations: 1.901 MB / 0.546 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.644e-05/0.3598, allocations: 9.312 kB / 0.546 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.36, allocations: 17.28 kB / 0.546 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.3601, allocations: 37.44 kB / 0.546 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003121/0.3632, allocations: 0.9426 MB / 0.547 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.3634, allocations: 94.39 kB / 0.5471 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.988e-05/0.3635, allocations: 10.45 kB / 0.5471 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.3637, allocations: 54.55 kB / 0.5471 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.3638, allocations: 58.39 kB / 0.5472 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.3638, allocations: 2.281 kB / 0.5472 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003542/0.3673, allocations: 1.847 MB / 0.549 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.199e-05/0.3674, allocations: 35.67 kB / 0.549 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.221e-05/0.3675, allocations: 31.31 kB / 0.549 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002156/0.3696, allocations: 1.322 MB / 0.5503 GB, free: 10.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3696, allocations: 4 kB / 0.5503 GB, free: 10.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3696, allocations: 1 kB / 0.5503 GB, free: 10.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.3697, allocations: 0 / 0.5503 GB, free: 10.29 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.0009566/0.3706, allocations: 488.8 kB / 0.5508 GB, free: 9.848 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3707, allocations: 12.77 kB / 0.5508 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001227/0.3708, allocations: 66.53 kB / 0.5509 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.348e-05/0.3708, allocations: 20.27 kB / 0.5509 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.3711, allocations: 149.8 kB / 0.551 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.3711, allocations: 16.02 kB / 0.5511 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.3711, allocations: 3.656 kB / 0.5511 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/0.3714, allocations: 173.4 kB / 0.5512 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.3714, allocations: 4 kB / 0.5512 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.3714, allocations: 9.312 kB / 0.5512 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3714, allocations: 1.344 kB / 0.5512 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.3716, allocations: 116.2 kB / 0.5513 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005013/0.3721, allocations: 321.9 kB / 0.5517 GB, free: 9.113 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.3722, allocations: 111.8 kB / 0.5518 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.3724, allocations: 94.33 kB / 0.5519 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.528e-06/0.3724, allocations: 1.219 kB / 0.5519 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.3724, allocations: 31.66 kB / 0.5519 GB, free: 8.926 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.3724, allocations: 0 / 0.5519 GB, free: 8.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004724/0.3729, allocations: 334.4 kB / 0.5522 GB, free: 8.719 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.846e-05/0.3729, allocations: 93.38 kB / 0.5523 GB, free: 8.617 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.3731, allocations: 148.1 kB / 0.5524 GB, free: 8.496 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.3731, allocations: 25.7 kB / 0.5525 GB, free: 8.465 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.3732, allocations: 123.5 kB / 0.5526 GB, free: 8.348 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.821e-05/0.3733, allocations: 44.31 kB / 0.5526 GB, free: 8.309 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.865e-05/0.3733, allocations: 23.2 kB / 0.5526 GB, free: 8.289 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.3735, allocations: 326.1 kB / 0.553 GB, free: 7.965 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/0.3736, allocations: 89.12 kB / 0.553 GB, free: 7.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.806e-05/0.3737, allocations: 92.69 kB / 0.5531 GB, free: 7.855 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002293/0.3739, allocations: 198.2 kB / 0.5533 GB, free: 7.734 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3739, allocations: 4 kB / 0.5533 GB, free: 7.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002878/0.3742, allocations: 237 kB / 0.5535 GB, free: 7.578 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.247e-05/0.3742, allocations: 48.75 kB / 0.5536 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3743, allocations: 0 / 0.5536 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3743, allocations: 0 / 0.5536 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.206e-06/0.3743, allocations: 5.234 kB / 0.5536 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3743, allocations: 0 / 0.5536 GB, free: 7.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.987e-05/0.3743, allocations: 11.61 kB / 0.5536 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.134e-05/0.3744, allocations: 4.594 kB / 0.5536 GB, free: 7.527 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.0001832/0.3745, allocations: 177.5 kB / 0.5538 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.3746, allocations: 14.58 kB / 0.5538 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.303e-05/0.3746, allocations: 13.06 kB / 0.5538 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3746, allocations: 0 / 0.5538 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3746, allocations: 1.125 kB / 0.5538 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.3746, allocations: 3.984 kB / 0.5538 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/0.3748, allocations: 179.8 kB / 0.554 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3748, allocations: 0 / 0.554 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.3748, allocations: 0 / 0.554 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.3748, allocations: 1.094 kB / 0.554 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.3749, allocations: 3.438 kB / 0.554 GB, free: 7.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3749, allocations: 9.188 kB / 0.554 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3749, allocations: 0 / 0.554 GB, free: 7.141 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004607/0.3753, allocations: 423.7 kB / 0.5544 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.995e-05/0.3753, allocations: 11.67 kB / 0.5544 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.3754, allocations: 3.375 kB / 0.5544 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.027e-05/0.3754, allocations: 2.25 kB / 0.5544 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.371e-05/0.3755, allocations: 2.281 kB / 0.5544 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.3755, allocations: 9.609 kB / 0.5544 GB, free: 6.832 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.856e-05/0.3756, allocations: 118.8 kB / 0.5545 GB, free: 6.738 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3756, allocations: 0 / 0.5545 GB, free: 6.738 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001089/0.3767, allocations: 334.4 kB / 0.5549 GB, free: 6.645 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.002072/0.3787, allocations: 1.391 MB / 0.5562 GB, free: 5.215 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004606/0.3792, allocations: 326.6 kB / 0.5565 GB, free: 4.871 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.3792, allocations: 0 / 0.5565 GB, free: 4.871 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.3794, allocations: 197 kB / 0.5567 GB, free: 4.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.3798, allocations: 16.14 kB / 0.5567 GB, free: 4.645 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003067/0.3828, allocations: 2.571 MB / 0.5592 GB, free: 1.957 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.383, allocations: 117 kB / 0.5594 GB, free: 1.824 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.739e-05/0.383, allocations: 0 / 0.5594 GB, free: 1.824 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.681e-05/0.3831, allocations: 35.42 kB / 0.5594 GB, free: 1.789 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3831, allocations: 0 / 0.5594 GB, free: 1.789 MB / 398.1 MB [CodegenCFunctions.tpl:5658:13-5658: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.1447480842471123] Failed to read output from testmodel.py, exit status != 0: 0.4221069999039173 0.439382658 0.066149226 Calling exit ...