Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001723/0.001723, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.00165/0.00165, allocations: 161.4 kB / 24.56 MB, free: 20 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 0.964/0.964, allocations: 177.1 MB / 205 MB, free: 5.285 MB / 186.7 MB " [Timeout remaining time 179] 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.2584/0.2584, allocations: 29.42 MB / 290.9 MB, free: 2.445 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_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.476e-05, allocations: 2.312 kB / 369.7 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.00362/0.003645, allocations: 2.277 MB / 371.9 MB, free: 8.703 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002995/0.00664, allocations: 1.963 MB / 373.9 MB, free: 6.73 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.572e-05/0.006706, allocations: 0 / 373.9 MB, free: 6.73 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000154/0.00686, allocations: 11.92 kB / 373.9 MB, free: 6.719 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.006968, allocations: 35.7 kB / 373.9 MB, free: 6.684 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002529/0.009497, allocations: 0.9818 MB / 374.9 MB, free: 5.699 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.009643, allocations: 75.64 kB / 375 MB, free: 5.625 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.932e-05/0.009692, allocations: 4.172 kB / 375 MB, free: 5.621 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.009865, allocations: 43.89 kB / 375 MB, free: 5.578 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.457e-05/0.009959, allocations: 47.81 kB / 375.1 MB, free: 5.531 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.009977, allocations: 4 kB / 375.1 MB, free: 5.527 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003152/0.01313, allocations: 1.898 MB / 377 MB, free: 3.625 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.912e-05/0.0132, allocations: 51.78 kB / 377 MB, free: 3.574 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.048e-05/0.01325, allocations: 19.92 kB / 377.1 MB, free: 3.555 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002233/0.01548, allocations: 1.543 MB / 378.6 MB, free: 2.008 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.01548, allocations: 4 kB / 378.6 MB, free: 2.004 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01549, allocations: 0 / 378.6 MB, free: 2.004 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.01549, allocations: 3.938 kB / 378.6 MB, free: 2 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0008578/0.01635, allocations: 0.6368 MB / 379.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.01639, allocations: 15.98 kB / 379.3 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.24e-05/0.01644, allocations: 24.8 kB / 379.3 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.0166, allocations: 148.2 kB / 379.4 MB, free: 1.109 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.01661, allocations: 4.375 kB / 379.4 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.01663, allocations: 3.938 kB / 379.4 MB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.01681, allocations: 125.3 kB / 379.6 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.01682, allocations: 0 / 379.6 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.01683, allocations: 0 / 379.6 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-06/0.01684, allocations: 0 / 379.6 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.481e-05/0.01693, allocations: 82.02 kB / 379.6 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.01708, allocations: 153.1 kB / 379.8 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.0172, allocations: 117 kB / 379.9 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.406e-05/0.01728, allocations: 93.72 kB / 380 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.31e-06/0.01729, allocations: 3.938 kB / 380 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.01732, allocations: 37.39 kB / 380 MB, free: 420 kB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 4.007e-06/0.01732, allocations: 3.984 kB / 380 MB, free: 416 kB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.0003871/0.01771, allocations: 442.5 kB / 380.5 MB, free: 15.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.01775, allocations: 109 kB / 380.6 MB, free: 15.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.01785, allocations: 225.9 kB / 380.8 MB, free: 15.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.01787, allocations: 25.7 kB / 380.8 MB, free: 15.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.087e-05/0.01793, allocations: 151.5 kB / 381 MB, free: 15.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.168e-05/0.01801, allocations: 146.8 kB / 381.1 MB, free: 15.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.01805, allocations: 43.36 kB / 381.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.01817, allocations: 0.5157 MB / 381.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.374e-05/0.01822, allocations: 77.69 kB / 381.7 MB, free: 14.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.382e-05/0.01828, allocations: 94.59 kB / 381.8 MB, free: 14.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.01843, allocations: 215.2 kB / 382.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01843, allocations: 0 / 382.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000242/0.01868, allocations: 312.7 kB / 382.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.944e-05/0.01877, allocations: 77.64 kB / 382.4 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.01877, allocations: 3.984 kB / 382.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.01878, allocations: 0 / 382.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.076e-06/0.01878, allocations: 4.062 kB / 382.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.01879, allocations: 0 / 382.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.854e-05/0.01884, allocations: 27.78 kB / 382.5 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.01886, allocations: 12 kB / 382.5 MB, free: 13.82 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.0001131/0.01897, allocations: 238.2 kB / 382.7 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.019, allocations: 39.8 kB / 382.8 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.653e-05/0.01902, allocations: 14.66 kB / 382.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.01902, allocations: 0 / 382.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.01902, allocations: 0 / 382.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.01902, allocations: 0 / 382.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.29e-05/0.01912, allocations: 168.4 kB / 382.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.01912, allocations: 7.984 kB / 382.9 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.91e-07/0.01912, allocations: 0 / 382.9 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.01912, allocations: 3.938 kB / 382.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.01914, allocations: 8 kB / 382.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.01914, allocations: 0 / 382.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.01914, allocations: 0 / 382.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000453/0.01959, allocations: 479.5 kB / 383.4 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.007e-05/0.01961, allocations: 27.73 kB / 383.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.01963, allocations: 11.94 kB / 383.5 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.674e-05/0.01966, allocations: 4 kB / 383.5 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.913e-05/0.01968, allocations: 12.03 kB / 383.5 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.01969, allocations: 11.98 kB / 383.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.953e-05/0.01975, allocations: 160.2 kB / 383.6 MB, free: 12.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01975, allocations: 0 / 383.6 MB, free: 12.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006355/0.02038, allocations: 355.4 kB / 384 MB, free: 12.22 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.0006619/0.02105, allocations: 413.8 kB / 384.4 MB, free: 11.81 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000314/0.02136, allocations: 402.3 kB / 384.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.02136, allocations: 0 / 384.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.02154, allocations: 264.6 kB / 385 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.02183, allocations: 16 kB / 385.1 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007167/0.02254, allocations: 0.5432 MB / 385.6 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.374e-05/0.0226, allocations: 95.92 kB / 385.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.153e-05/0.02261, allocations: 4 kB / 385.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.32e-05/0.02262, allocations: 8.5 kB / 385.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02262, allocations: 0 / 385.7 MB, free: 10.39 MB / 362.7 MB [CodegenCFunctions.tpl:5910:13-5910: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: 1.8998352689668536]