Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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.001482/0.001482, allocations: 84.34 kB / 20.95 MB, free: 3.453 MB / 18.57 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.001726/0.001726, allocations: 169.3 kB / 24.27 MB, free: 144 kB / 18.57 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.481/1.481, allocations: 177.2 MB / 204.6 MB, free: 5.586 MB / 186.7 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.3112/0.3112, allocations: 29.42 MB / 290.5 MB, free: 2.426 MB / 266.7 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_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.656e-05/3.871e-05, allocations: 2.312 kB / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.003923/0.003961, allocations: 2.207 MB / 371.1 MB, free: 9.062 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003633/0.007594, allocations: 1.899 MB / 373 MB, free: 7.152 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.193e-05/0.007646, allocations: 0 / 373 MB, free: 7.152 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001963/0.007842, allocations: 15.92 kB / 373 MB, free: 7.137 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.007945, allocations: 35.69 kB / 373.1 MB, free: 7.102 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002852/0.0108, allocations: 0.9584 MB / 374 MB, free: 6.141 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.01096, allocations: 83.58 kB / 374.1 MB, free: 6.059 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.563e-05/0.011, allocations: 8.172 kB / 374.1 MB, free: 6.051 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.01117, allocations: 43.89 kB / 374.1 MB, free: 6.008 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.547e-05/0.01127, allocations: 39.88 kB / 374.2 MB, free: 5.969 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.01128, allocations: 0 / 374.2 MB, free: 5.969 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003286/0.01457, allocations: 1.902 MB / 376.1 MB, free: 4.062 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.9e-05/0.01461, allocations: 7.938 kB / 376.1 MB, free: 4.055 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.95e-05/0.01466, allocations: 19.94 kB / 376.1 MB, free: 4.035 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002101/0.01677, allocations: 1.48 MB / 377.6 MB, free: 2.551 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.01677, allocations: 0 / 377.6 MB, free: 2.551 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.01677, allocations: 0 / 377.6 MB, free: 2.551 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.01678, allocations: 0 / 377.6 MB, free: 2.551 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007195/0.0175, allocations: 442.5 kB / 378 MB, free: 2.082 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.01754, allocations: 11.98 kB / 378 MB, free: 2.07 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.762e-05/0.01761, allocations: 12.89 kB / 378 MB, free: 2.059 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.0178, allocations: 129.6 kB / 378.2 MB, free: 1.906 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.01782, allocations: 3.938 kB / 378.2 MB, free: 1.902 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.01783, allocations: 4 kB / 378.2 MB, free: 1.898 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.01801, allocations: 99.31 kB / 378.3 MB, free: 1.789 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.01802, allocations: 0 / 378.3 MB, free: 1.789 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.01803, allocations: 4 kB / 378.3 MB, free: 1.785 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.01803, allocations: 0 / 378.3 MB, free: 1.785 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.538e-05/0.01812, allocations: 61.67 kB / 378.3 MB, free: 1.719 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001501/0.01827, allocations: 109.3 kB / 378.5 MB, free: 1.582 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.01839, allocations: 76.2 kB / 378.5 MB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.892e-05/0.01848, allocations: 70.72 kB / 378.6 MB, free: 1.414 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.01849, allocations: 7.938 kB / 378.6 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.01853, allocations: 34.56 kB / 378.6 MB, free: 1.363 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 7.81e-07/0.01853, allocations: 0 / 378.6 MB, free: 1.363 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004058/0.01894, allocations: 238.7 kB / 378.9 MB, free: 1.105 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.152e-05/0.01901, allocations: 89.11 kB / 379 MB, free: 1 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.01914, allocations: 121.8 kB / 379.1 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.01917, allocations: 25.7 kB / 379.1 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.308e-05/0.01923, allocations: 88.14 kB / 379.2 MB, free: 0.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.707e-05/0.01928, allocations: 31.73 kB / 379.2 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.01932, allocations: 13.72 kB / 379.2 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.0195, allocations: 322.8 kB / 379.5 MB, free: 384 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.006e-05/0.01959, allocations: 61.62 kB / 379.6 MB, free: 316 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.617e-05/0.01968, allocations: 69.7 kB / 379.7 MB, free: 240 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001962/0.01987, allocations: 140.5 kB / 379.8 MB, free: 84 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.01988, allocations: 7.938 kB / 379.8 MB, free: 76 kB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002692/0.02015, allocations: 173 kB / 380 MB, free: 15.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.577e-05/0.02021, allocations: 45.67 kB / 380 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.02022, allocations: 0 / 380 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.02024, allocations: 0 / 380 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.263e-06/0.02024, allocations: 0 / 380 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.02025, allocations: 4 kB / 380 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.69e-05/0.0203, allocations: 0 / 380 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.02032, allocations: 4 kB / 380 MB, free: 15.83 MB / 362.7 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.0001873/0.02051, allocations: 167.5 kB / 380.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.02055, allocations: 15.89 kB / 380.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.687e-05/0.02056, allocations: 4.438 kB / 380.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.02057, allocations: 4 kB / 380.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.02057, allocations: 0 / 380.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.02058, allocations: 0 / 380.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.02075, allocations: 121.2 kB / 380.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.02075, allocations: 0 / 380.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.08e-06/0.02075, allocations: 3.938 kB / 380.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.02075, allocations: 0 / 380.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.02077, allocations: 11.98 kB / 380.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.02077, allocations: 0 / 380.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.02077, allocations: 0 / 380.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005418/0.02132, allocations: 252.4 kB / 380.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.645e-05/0.02133, allocations: 11.89 kB / 380.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.02135, allocations: 0 / 380.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.652e-05/0.02138, allocations: 4 kB / 380.6 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.0214, allocations: 3.938 kB / 380.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.02141, allocations: 4 kB / 380.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.784e-05/0.0215, allocations: 103.2 kB / 380.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0215, allocations: 0 / 380.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009743/0.02247, allocations: 319.4 kB / 381 MB, free: 14.75 MB / 362.7 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.001033/0.02351, allocations: 414.2 kB / 381.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003537/0.02386, allocations: 242.7 kB / 381.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.02386, allocations: 0 / 381.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.02402, allocations: 149.1 kB / 381.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.0243, allocations: 23.94 kB / 381.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00051/0.02481, allocations: 273.6 kB / 382.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.815e-05/0.0249, allocations: 79.33 kB / 382.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.205e-05/0.02492, allocations: 0 / 382.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.781e-05/0.02493, allocations: 8.5 kB / 382.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02493, allocations: 0 / 382.2 MB, free: 13.48 MB / 362.7 MB [CodegenCFunctions.tpl:5860:13-5860: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: 2.45944700401742]