Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.001804/0.001804, 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.002365/0.002365, allocations: 213.7 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.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.2074/0.2074, 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.Z_matrixTrDat2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",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.002024/0.002024, allocations: 63.89 kB / 492.6 MB, free: 4.902 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3451, allocations: 62.47 MB / 0.542 GB, free: 468 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.004019/0.3491, allocations: 2.216 MB / 0.5442 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003279/0.3524, allocations: 2.103 MB / 0.5462 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.974e-05/0.3525, allocations: 1.375 kB / 0.5462 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.3526, allocations: 13.3 kB / 0.5462 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.841e-05/0.3527, allocations: 30.64 kB / 0.5463 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002747/0.3555, allocations: 0.9809 MB / 0.5472 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.3556, allocations: 82.67 kB / 0.5473 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.802e-05/0.3556, allocations: 10.39 kB / 0.5473 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.3558, allocations: 47.2 kB / 0.5474 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.645e-05/0.3559, allocations: 45.64 kB / 0.5474 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.3559, allocations: 1.406 kB / 0.5474 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003843/0.3597, allocations: 2.234 MB / 0.5496 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.85e-05/0.3598, allocations: 33.11 kB / 0.5496 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.409e-05/0.3599, allocations: 37.8 kB / 0.5497 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002393/0.3622, allocations: 1.392 MB / 0.551 GB, free: 9.883 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3622, allocations: 1.188 kB / 0.551 GB, free: 9.883 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3622, allocations: 0 / 0.551 GB, free: 9.883 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3623, allocations: 0 / 0.551 GB, free: 9.883 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009076/0.3632, allocations: 0.4998 MB / 0.5515 GB, free: 9.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.3632, allocations: 13.95 kB / 0.5515 GB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.654e-05/0.3633, allocations: 43.16 kB / 0.5516 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.429e-05/0.3633, allocations: 13.34 kB / 0.5516 GB, free: 9.371 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.3635, allocations: 150 kB / 0.5517 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.3635, allocations: 0 / 0.5517 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.3635, allocations: 1.344 kB / 0.5517 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.3637, allocations: 95.56 kB / 0.5518 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.3637, allocations: 0 / 0.5518 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.3637, allocations: 1.125 kB / 0.5518 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3637, allocations: 4 kB / 0.5518 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.764e-05/0.3638, allocations: 61.56 kB / 0.5519 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001923/0.364, allocations: 169.1 kB / 0.552 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.3641, allocations: 75.83 kB / 0.5521 GB, free: 8.898 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.526e-05/0.3642, allocations: 67.64 kB / 0.5522 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.3642, allocations: 3.984 kB / 0.5522 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.3643, allocations: 30.56 kB / 0.5522 GB, free: 8.828 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.012e-06/0.3643, allocations: 5.375 kB / 0.5522 GB, free: 8.824 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0005082/0.3648, allocations: 325.5 kB / 0.5525 GB, free: 8.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.352e-05/0.3648, allocations: 100.2 kB / 0.5526 GB, free: 8.578 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.365, allocations: 150.7 kB / 0.5528 GB, free: 8.457 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.365, allocations: 25.7 kB / 0.5528 GB, free: 8.426 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.833e-05/0.3651, allocations: 96.64 kB / 0.5529 GB, free: 8.332 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.255e-05/0.3652, allocations: 81.25 kB / 0.553 GB, free: 8.262 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/0.3652, allocations: 29.27 kB / 0.553 GB, free: 8.238 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3654, allocations: 336 kB / 0.5533 GB, free: 7.906 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.93e-05/0.3655, allocations: 61.19 kB / 0.5534 GB, free: 7.887 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.851e-05/0.3656, allocations: 61 kB / 0.5534 GB, free: 7.867 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.3658, allocations: 262.5 kB / 0.5537 GB, free: 7.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3658, allocations: 0 / 0.5537 GB, free: 7.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002961/0.3661, allocations: 232.5 kB / 0.5539 GB, free: 7.617 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.003e-05/0.3662, allocations: 68.5 kB / 0.554 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3662, allocations: 0 / 0.554 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3662, allocations: 1.438 kB / 0.554 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.3662, allocations: 4.062 kB / 0.554 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.3662, allocations: 0 / 0.554 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.522e-05/0.3663, allocations: 17.14 kB / 0.554 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.396e-05/0.3663, allocations: 6.688 kB / 0.554 GB, free: 7.551 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.0001862/0.3665, allocations: 198.1 kB / 0.5542 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-05/0.3665, allocations: 17.03 kB / 0.5542 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.25e-05/0.3666, allocations: 13 kB / 0.5542 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3666, allocations: 1.406 kB / 0.5542 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3666, allocations: 0 / 0.5542 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3666, allocations: 4 kB / 0.5542 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.3667, allocations: 182.3 kB / 0.5544 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3667, allocations: 1.094 kB / 0.5544 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.3667, allocations: 0 / 0.5544 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3667, allocations: 0 / 0.5544 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.3668, allocations: 5.719 kB / 0.5544 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3668, allocations: 0 / 0.5544 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3668, allocations: 4.969 kB / 0.5544 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00063/0.3674, allocations: 0.5209 MB / 0.5549 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.671e-05/0.3674, allocations: 16.19 kB / 0.5549 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.3674, allocations: 3.562 kB / 0.5549 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.195e-05/0.3675, allocations: 3.75 kB / 0.5549 GB, free: 6.891 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.3675, allocations: 6.438 kB / 0.5549 GB, free: 6.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.3675, allocations: 10.84 kB / 0.5549 GB, free: 6.883 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.297e-05/0.3676, allocations: 115.3 kB / 0.5551 GB, free: 6.793 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3676, allocations: 1.344 kB / 0.5551 GB, free: 6.793 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001157/0.3688, allocations: 339.1 kB / 0.5554 GB, free: 6.535 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.002294/0.3711, allocations: 1.331 MB / 0.5567 GB, free: 5.172 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000596/0.3717, allocations: 459.1 kB / 0.5571 GB, free: 4.711 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3717, allocations: 96 / 0.5571 GB, free: 4.711 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003448/0.372, allocations: 323.2 kB / 0.5574 GB, free: 4.383 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.3723, allocations: 18.91 kB / 0.5574 GB, free: 4.367 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00328/0.3755, allocations: 2.679 MB / 0.5601 GB, free: 1.602 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.3759, allocations: 0.7316 MB / 0.5608 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.654e-05/0.376, allocations: 0 / 0.5608 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.471e-05/0.376, allocations: 31.42 kB / 0.5608 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of SimCode: time 9.02e-07/0.376, allocations: 4 kB / 0.5608 GB, free: 0.8086 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.042744826001581] Failed to read output from testmodel.py, exit status != 0: 0.4223805959991296 0.439210685 0.07370799 Calling exit ...