Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001446/0.001446, 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.001497/0.001497, 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.494/1.494, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1969/0.1969, allocations: 38.53 MB / 352.5 MB, free: 12.55 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_matrixTrDat2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_latest_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.002192/0.002192, allocations: 67.89 kB / 492.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3529, allocations: 62.47 MB / 0.542 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.004479/0.3574, allocations: 2.224 MB / 0.5442 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003828/0.3612, allocations: 2.098 MB / 0.5462 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.639e-05/0.3613, allocations: 1.531 kB / 0.5462 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.3615, allocations: 17.59 kB / 0.5463 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.3616, allocations: 25.62 kB / 0.5463 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003105/0.3647, allocations: 0.9917 MB / 0.5472 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000217/0.3649, allocations: 72.83 kB / 0.5473 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.985e-05/0.365, allocations: 14.44 kB / 0.5473 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.3651, allocations: 38.16 kB / 0.5474 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.346e-05/0.3652, allocations: 49.03 kB / 0.5474 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.3652, allocations: 2.375 kB / 0.5474 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004085/0.3693, allocations: 2.234 MB / 0.5496 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.872e-05/0.3694, allocations: 39.55 kB / 0.5496 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.28e-05/0.3694, allocations: 38.05 kB / 0.5497 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002717/0.3722, allocations: 1.389 MB / 0.551 GB, free: 9.848 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3722, allocations: 1.219 kB / 0.551 GB, free: 9.848 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3722, allocations: 0 / 0.551 GB, free: 9.848 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.3722, allocations: 3.938 kB / 0.551 GB, free: 9.844 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.001023/0.3732, allocations: 497.8 kB / 0.5515 GB, free: 9.402 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.3732, allocations: 17.39 kB / 0.5515 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001039/0.3734, allocations: 46.73 kB / 0.5516 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.42e-05/0.3734, allocations: 13.69 kB / 0.5516 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.3736, allocations: 141.5 kB / 0.5517 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-06/0.3736, allocations: 0.7188 kB / 0.5517 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.3736, allocations: 1.312 kB / 0.5517 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.3738, allocations: 99.94 kB / 0.5518 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.3738, allocations: 0 / 0.5518 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.3738, allocations: 0 / 0.5518 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.3738, allocations: 1.188 kB / 0.5518 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.092e-05/0.3739, allocations: 64.72 kB / 0.5519 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001866/0.3741, allocations: 160.6 kB / 0.552 GB, free: 8.918 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.3742, allocations: 76.77 kB / 0.5521 GB, free: 8.875 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.936e-05/0.3743, allocations: 66.7 kB / 0.5522 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.829e-06/0.3743, allocations: 3.938 kB / 0.5522 GB, free: 8.844 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.3744, allocations: 32.06 kB / 0.5522 GB, free: 8.805 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.102e-06/0.3744, allocations: 4 kB / 0.5522 GB, free: 8.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0005573/0.3749, allocations: 326.2 kB / 0.5525 GB, free: 8.656 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.247e-05/0.375, allocations: 96.19 kB / 0.5526 GB, free: 8.559 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.3752, allocations: 150.4 kB / 0.5527 GB, free: 8.438 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.3752, allocations: 25.7 kB / 0.5528 GB, free: 8.406 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.715e-05/0.3752, allocations: 104.9 kB / 0.5529 GB, free: 8.305 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.97e-05/0.3753, allocations: 77.53 kB / 0.5529 GB, free: 8.238 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/0.3754, allocations: 28.08 kB / 0.553 GB, free: 8.215 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.3756, allocations: 336.9 kB / 0.5533 GB, free: 7.883 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.59e-05/0.3757, allocations: 60.31 kB / 0.5534 GB, free: 7.863 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.294e-05/0.3757, allocations: 66.28 kB / 0.5534 GB, free: 7.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003379/0.3761, allocations: 253.5 kB / 0.5537 GB, free: 7.711 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3761, allocations: 0 / 0.5537 GB, free: 7.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002996/0.3764, allocations: 240.5 kB / 0.5539 GB, free: 7.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.881e-05/0.3765, allocations: 61.14 kB / 0.5539 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.3765, allocations: 0 / 0.5539 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.3765, allocations: 3.984 kB / 0.5539 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.856e-06/0.3765, allocations: 5.125 kB / 0.554 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.3765, allocations: 8.047 kB / 0.554 GB, free: 7.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.49e-05/0.3765, allocations: 17.48 kB / 0.554 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.3766, allocations: 6.094 kB / 0.554 GB, free: 7.52 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.0001899/0.3768, allocations: 195 kB / 0.5542 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.3768, allocations: 20.06 kB / 0.5542 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.23e-05/0.3768, allocations: 17.67 kB / 0.5542 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.3768, allocations: 0 / 0.5542 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3768, allocations: 0 / 0.5542 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.3768, allocations: 0.9062 kB / 0.5542 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.377, allocations: 182 kB / 0.5544 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.377, allocations: 1.156 kB / 0.5544 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.377, allocations: 0 / 0.5544 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.377, allocations: 5.141 kB / 0.5544 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.377, allocations: 4.594 kB / 0.5544 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.377, allocations: 0 / 0.5544 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.377, allocations: 1.125 kB / 0.5544 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006262/0.3776, allocations: 0.5165 MB / 0.5549 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.668e-05/0.3777, allocations: 24.28 kB / 0.5549 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.3777, allocations: 4.406 kB / 0.5549 GB, free: 6.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.513e-05/0.3778, allocations: 7.234 kB / 0.5549 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.3778, allocations: 3.281 kB / 0.5549 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.3778, allocations: 6.344 kB / 0.5549 GB, free: 6.852 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001003/0.3779, allocations: 115 kB / 0.555 GB, free: 6.762 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3779, allocations: 5.031 kB / 0.5551 GB, free: 6.758 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001154/0.3791, allocations: 337.6 kB / 0.5554 GB, free: 6.496 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.002092/0.3811, allocations: 1.335 MB / 0.5567 GB, free: 5.129 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006133/0.3818, allocations: 459.2 kB / 0.5571 GB, free: 4.668 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3818, allocations: 0 / 0.5571 GB, free: 4.668 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003639/0.3821, allocations: 323.3 kB / 0.5574 GB, free: 4.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.3824, allocations: 18.75 kB / 0.5574 GB, free: 4.324 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00341/0.3858, allocations: 2.679 MB / 0.5601 GB, free: 1.559 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.3861, allocations: 0.7238 MB / 0.5608 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.96e-05/0.3862, allocations: 11.92 kB / 0.5608 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.945e-05/0.3862, allocations: 31.44 kB / 0.5608 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3862, allocations: 0 / 0.5608 GB, free: 0.7656 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.134146014228463] Failed to read output from testmodel.py, exit status != 0: 0.4259791250806302 0.44326193100000005 0.067447928 Calling exit ...