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.001334/0.001334, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001572/0.001572, allocations: 208.1 kB / 23.73 MB, free: 4.387 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.504/1.504, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.192/0.192, allocations: 38.55 MB / 352.5 MB, free: 12.29 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: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") [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.00214/0.00214, allocations: 74.39 kB / 493 MB, free: 4.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.4083, allocations: 62.46 MB / 0.5424 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003612/0.4119, allocations: 2.2 MB / 0.5446 GB, free: 14.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003377/0.4153, allocations: 1.887 MB / 0.5464 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.343e-05/0.4153, allocations: 3.938 kB / 0.5464 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000156/0.4155, allocations: 14.66 kB / 0.5464 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.4156, allocations: 26.59 kB / 0.5465 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002883/0.4185, allocations: 0.9705 MB / 0.5474 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.4186, allocations: 72.33 kB / 0.5475 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.893e-05/0.4187, allocations: 10.44 kB / 0.5475 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.4188, allocations: 39.09 kB / 0.5475 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.419, allocations: 47.81 kB / 0.5476 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.419, allocations: 2.469 kB / 0.5476 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003251/0.4222, allocations: 1.898 MB / 0.5494 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.131e-05/0.4223, allocations: 28.78 kB / 0.5495 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.019e-05/0.4223, allocations: 33.3 kB / 0.5495 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001803/0.4241, allocations: 1.36 MB / 0.5508 GB, free: 10.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4241, allocations: 0 / 0.5508 GB, free: 10.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4241, allocations: 0 / 0.5508 GB, free: 10.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.4241, allocations: 0 / 0.5508 GB, free: 10.44 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.0006819/0.4248, allocations: 0.4914 MB / 0.5513 GB, free: 9.996 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.4249, allocations: 12.73 kB / 0.5513 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.805e-05/0.4249, allocations: 18.25 kB / 0.5513 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.4251, allocations: 156.2 kB / 0.5515 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.4251, allocations: 1.156 kB / 0.5515 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.4251, allocations: 1.344 kB / 0.5515 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.4254, allocations: 169.4 kB / 0.5516 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.4254, allocations: 0 / 0.5516 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.4254, allocations: 0 / 0.5516 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.4254, allocations: 1 kB / 0.5517 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.4256, allocations: 130.7 kB / 0.5518 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001499/0.4257, allocations: 133.1 kB / 0.5519 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.4259, allocations: 154.6 kB / 0.552 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.4261, allocations: 135.7 kB / 0.5522 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.4261, allocations: 1.281 kB / 0.5522 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.4261, allocations: 31.84 kB / 0.5522 GB, free: 9.285 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.183e-06/0.4261, allocations: 0 / 0.5522 GB, free: 9.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006944/0.4268, allocations: 487.9 kB / 0.5527 GB, free: 9.035 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.968e-05/0.4269, allocations: 95.86 kB / 0.5528 GB, free: 8.938 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.427, allocations: 153 kB / 0.5529 GB, free: 8.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.4271, allocations: 30.73 kB / 0.5529 GB, free: 8.777 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.4271, allocations: 101 kB / 0.553 GB, free: 8.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.711e-05/0.4272, allocations: 76.23 kB / 0.5531 GB, free: 8.613 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/0.4273, allocations: 33.02 kB / 0.5531 GB, free: 8.586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.4274, allocations: 324.7 kB / 0.5535 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.4276, allocations: 134.8 kB / 0.5536 GB, free: 8.195 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.4277, allocations: 130.5 kB / 0.5537 GB, free: 8.133 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003389/0.428, allocations: 305.6 kB / 0.554 GB, free: 7.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.428, allocations: 0 / 0.554 GB, free: 7.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003826/0.4284, allocations: 331.5 kB / 0.5543 GB, free: 7.777 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.498e-05/0.4285, allocations: 68.31 kB / 0.5544 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.4285, allocations: 0 / 0.5544 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.4285, allocations: 0 / 0.5544 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.855e-06/0.4285, allocations: 3.938 kB / 0.5544 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.4285, allocations: 4.062 kB / 0.5544 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.027e-05/0.4286, allocations: 15.89 kB / 0.5544 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.4286, allocations: 8 kB / 0.5544 GB, free: 7.676 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.0001783/0.4288, allocations: 199.4 kB / 0.5546 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.4288, allocations: 15.91 kB / 0.5546 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.139e-05/0.4288, allocations: 13.28 kB / 0.5546 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.4288, allocations: 0 / 0.5546 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4289, allocations: 0 / 0.5546 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.4289, allocations: 0 / 0.5546 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.429, allocations: 145.1 kB / 0.5548 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.429, allocations: 4 kB / 0.5548 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.429, allocations: 0 / 0.5548 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.429, allocations: 0 / 0.5548 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.429, allocations: 8 kB / 0.5548 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.429, allocations: 0 / 0.5548 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.429, allocations: 4 kB / 0.5548 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006102/0.4296, allocations: 0.5195 MB / 0.5553 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.571e-05/0.4296, allocations: 23.8 kB / 0.5553 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.4297, allocations: 7.938 kB / 0.5553 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.731e-05/0.4297, allocations: 7.938 kB / 0.5553 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.4298, allocations: 7.938 kB / 0.5553 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.4298, allocations: 16.02 kB / 0.5553 GB, free: 6.633 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.357e-05/0.4299, allocations: 114.5 kB / 0.5555 GB, free: 6.523 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4299, allocations: 0 / 0.5555 GB, free: 6.523 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001036/0.4309, allocations: 335.4 kB / 0.5558 GB, free: 6.195 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.001062/0.432, allocations: 374.2 kB / 0.5561 GB, free: 5.824 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007522/0.4327, allocations: 0.5102 MB / 0.5566 GB, free: 5.289 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4327, allocations: 4.062 kB / 0.5566 GB, free: 5.285 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003826/0.4331, allocations: 301 kB / 0.5569 GB, free: 4.973 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.4333, allocations: 14 kB / 0.5569 GB, free: 4.961 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.4344, allocations: 0.5346 MB / 0.5575 GB, free: 4.395 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.4345, allocations: 114 kB / 0.5576 GB, free: 4.266 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.369e-05/0.4345, allocations: 3.938 kB / 0.5576 GB, free: 4.262 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.4345, allocations: 11.5 kB / 0.5576 GB, free: 4.25 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4345, allocations: 0 / 0.5576 GB, free: 4.25 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.1869288962334394] Failed to read output from testmodel.py, exit status != 0: 0.4561987277120352 0.47211154299999997 0.044644257 Calling exit ...