Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.001735/0.001735, allocations: 115.8 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.002194/0.002194, allocations: 216.6 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.477/1.477, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.1856/0.1856, allocations: 38.53 MB / 352.5 MB, free: 12.54 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.Z_matrixTrDat3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",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.002084/0.002084, allocations: 66.88 kB / 492.6 MB, free: 4.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3544, allocations: 62.47 MB / 0.542 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.005876/0.3602, allocations: 2.216 MB / 0.5442 GB, free: 14.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004506/0.3647, allocations: 2.106 MB / 0.5462 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.842e-05/0.3648, allocations: 3.938 kB / 0.5462 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.365, allocations: 14.67 kB / 0.5463 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.904e-05/0.3651, allocations: 26.61 kB / 0.5463 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002748/0.3678, allocations: 0.9807 MB / 0.5472 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.368, allocations: 75.56 kB / 0.5473 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.828e-05/0.368, allocations: 14.78 kB / 0.5473 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.3682, allocations: 46.73 kB / 0.5474 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.971e-05/0.3683, allocations: 53.28 kB / 0.5474 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.3683, allocations: 3.281 kB / 0.5474 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00359/0.3719, allocations: 2.23 MB / 0.5496 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.73e-05/0.372, allocations: 47.42 kB / 0.5496 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.712e-05/0.3721, allocations: 53.19 kB / 0.5497 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002014/0.3741, allocations: 1.423 MB / 0.5511 GB, free: 9.809 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3741, allocations: 1.281 kB / 0.5511 GB, free: 9.809 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3741, allocations: 0 / 0.5511 GB, free: 9.809 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.3741, allocations: 0 / 0.5511 GB, free: 9.809 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0008266/0.3749, allocations: 0.5422 MB / 0.5516 GB, free: 9.332 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.375, allocations: 16.89 kB / 0.5516 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.803e-05/0.375, allocations: 45.67 kB / 0.5517 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.044e-05/0.3751, allocations: 23.42 kB / 0.5517 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.3753, allocations: 157.1 kB / 0.5518 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.031e-06/0.3753, allocations: 0 / 0.5518 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.3753, allocations: 1.156 kB / 0.5519 GB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.3755, allocations: 135.9 kB / 0.552 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3755, allocations: 0 / 0.552 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.3756, allocations: 1.062 kB / 0.552 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.3756, allocations: 0 / 0.552 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.3757, allocations: 104 kB / 0.5521 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002057/0.3759, allocations: 184.2 kB / 0.5523 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.3761, allocations: 116 kB / 0.5524 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.3762, allocations: 96.88 kB / 0.5525 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-06/0.3762, allocations: 0 / 0.5525 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.3762, allocations: 35.64 kB / 0.5525 GB, free: 8.652 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 8.01e-07/0.3762, allocations: 0 / 0.5525 GB, free: 8.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.0007377/0.377, allocations: 0.5014 MB / 0.553 GB, free: 8.445 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.961e-05/0.3771, allocations: 108.5 kB / 0.5531 GB, free: 8.344 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.3772, allocations: 167 kB / 0.5532 GB, free: 8.211 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.3772, allocations: 26.77 kB / 0.5533 GB, free: 8.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.31e-05/0.3773, allocations: 110.8 kB / 0.5534 GB, free: 8.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.3775, allocations: 137.9 kB / 0.5535 GB, free: 7.949 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.725e-05/0.3775, allocations: 36.64 kB / 0.5535 GB, free: 7.922 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.3777, allocations: 339 kB / 0.5539 GB, free: 7.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001286/0.3778, allocations: 103.9 kB / 0.554 GB, free: 7.551 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.3779, allocations: 95.89 kB / 0.5541 GB, free: 7.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004119/0.3784, allocations: 379.8 kB / 0.5544 GB, free: 7.348 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3784, allocations: 0 / 0.5544 GB, free: 7.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004462/0.3788, allocations: 340.1 kB / 0.5547 GB, free: 7.191 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.3789, allocations: 87.91 kB / 0.5548 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.3789, allocations: 0 / 0.5548 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3789, allocations: 0 / 0.5548 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.575e-06/0.3789, allocations: 1.625 kB / 0.5548 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.3789, allocations: 8.062 kB / 0.5548 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.976e-05/0.379, allocations: 15.58 kB / 0.5549 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/0.3791, allocations: 12 kB / 0.5549 GB, free: 7.102 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.0002357/0.3793, allocations: 231.4 kB / 0.5551 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.86e-05/0.3794, allocations: 31.8 kB / 0.5551 GB, free: 6.828 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.222e-05/0.3794, allocations: 18.64 kB / 0.5551 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.3794, allocations: 0 / 0.5551 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3794, allocations: 0 / 0.5551 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.3794, allocations: 0 / 0.5551 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.3796, allocations: 216.4 kB / 0.5553 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3796, allocations: 0 / 0.5553 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.32e-07/0.3796, allocations: 0 / 0.5553 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.3796, allocations: 4 kB / 0.5553 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.944e-05/0.3796, allocations: 4 kB / 0.5553 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3796, allocations: 0 / 0.5553 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3796, allocations: 4 kB / 0.5553 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.3808, allocations: 0.9238 MB / 0.5563 GB, free: 5.598 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.059e-05/0.3809, allocations: 23.8 kB / 0.5563 GB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/0.3809, allocations: 8.031 kB / 0.5563 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.327e-05/0.3809, allocations: 8 kB / 0.5563 GB, free: 5.559 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.381, allocations: 4 kB / 0.5563 GB, free: 5.555 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.381, allocations: 12 kB / 0.5563 GB, free: 5.543 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001029/0.3811, allocations: 128.2 kB / 0.5564 GB, free: 5.418 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3811, allocations: 4 kB / 0.5564 GB, free: 5.414 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00109/0.3822, allocations: 355.3 kB / 0.5568 GB, free: 5.066 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.002479/0.3847, allocations: 1.741 MB / 0.5585 GB, free: 3.289 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.3857, allocations: 0.8309 MB / 0.5593 GB, free: 2.445 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3857, allocations: 0 / 0.5593 GB, free: 2.445 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006402/0.3864, allocations: 0.6006 MB / 0.5599 GB, free: 1.832 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.3866, allocations: 20.16 kB / 0.5599 GB, free: 1.812 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004306/0.3909, allocations: 3.687 MB / 0.5635 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.3913, allocations: 0.7555 MB / 0.5642 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.517e-05/0.3913, allocations: 4 kB / 0.5642 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.95e-05/0.3914, allocations: 43.42 kB / 0.5643 GB, free: 13.21 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3914, allocations: 0 / 0.5643 GB, free: 13.21 MB / 414.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.096454717917368] Failed to read output from testmodel.py, exit status != 0: 0.4284054930321872 0.44653487000000003 0.06928215800000001 Calling exit ...