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.001412/0.001412, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.001482/0.001482, allocations: 163.9 kB / 23.95 MB, free: 4.156 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.393/1.393, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 179] 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.1695/0.1695, allocations: 29.45 MB / 290.1 MB, free: 3.27 MB / 270.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: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 430.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.536e-05/3.653e-05, allocations: 2.281 kB / 430.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003158/0.003195, allocations: 2.184 MB / 432.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003131/0.006326, allocations: 1.913 MB / 434.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.351e-05/0.006369, allocations: 3.938 kB / 434.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.006489, allocations: 11.92 kB / 434.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.13e-05/0.00657, allocations: 27.83 kB / 434.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002522/0.009092, allocations: 0.9779 MB / 435.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000128/0.00922, allocations: 75.62 kB / 435.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.619e-05/0.009267, allocations: 12.17 kB / 435.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.009414, allocations: 47.83 kB / 436 MB, free: 12.63 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.385e-05/0.009498, allocations: 39.89 kB / 436 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.009512, allocations: 0 / 436 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003069/0.01258, allocations: 1.902 MB / 437.9 MB, free: 10.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.71e-05/0.01264, allocations: 35.91 kB / 438 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.674e-05/0.01269, allocations: 27.86 kB / 438 MB, free: 10.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001914/0.0146, allocations: 1.5 MB / 439.5 MB, free: 9.121 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.0146, allocations: 0 / 439.5 MB, free: 9.121 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.0146, allocations: 0 / 439.5 MB, free: 9.121 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.01461, allocations: 0 / 439.5 MB, free: 9.121 MB / 366.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.000768/0.01538, allocations: 0.4942 MB / 440 MB, free: 8.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.01542, allocations: 11.98 kB / 440 MB, free: 8.578 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.139e-05/0.01547, allocations: 20.73 kB / 440 MB, free: 8.559 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.01567, allocations: 145.5 kB / 440.2 MB, free: 8.391 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.01568, allocations: 4.375 kB / 440.2 MB, free: 8.387 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.0157, allocations: 7.938 kB / 440.2 MB, free: 8.379 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002673/0.01596, allocations: 166.1 kB / 440.3 MB, free: 8.207 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.01597, allocations: 0 / 440.3 MB, free: 8.207 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.01598, allocations: 4 kB / 440.3 MB, free: 8.203 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.01599, allocations: 0 / 440.3 MB, free: 8.203 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.01614, allocations: 125.7 kB / 440.5 MB, free: 8.074 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.0163, allocations: 125.2 kB / 440.6 MB, free: 7.922 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.01649, allocations: 144.2 kB / 440.7 MB, free: 7.766 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.01664, allocations: 130.5 kB / 440.8 MB, free: 7.629 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.682e-06/0.01664, allocations: 3.938 kB / 440.8 MB, free: 7.625 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.01668, allocations: 38.5 kB / 440.9 MB, free: 7.578 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.112e-06/0.01668, allocations: 0 / 440.9 MB, free: 7.578 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006037/0.01728, allocations: 474.8 kB / 441.3 MB, free: 7.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.035e-05/0.01736, allocations: 93.09 kB / 441.4 MB, free: 6.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.01751, allocations: 156.3 kB / 441.6 MB, free: 6.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.01753, allocations: 25.7 kB / 441.6 MB, free: 6.789 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.251e-05/0.0176, allocations: 100.6 kB / 441.7 MB, free: 6.688 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.336e-05/0.01767, allocations: 71.34 kB / 441.8 MB, free: 6.617 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.006e-05/0.01773, allocations: 29.7 kB / 441.8 MB, free: 6.582 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.01788, allocations: 326.8 kB / 442.1 MB, free: 6.254 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.01803, allocations: 133.7 kB / 442.3 MB, free: 6.117 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.01816, allocations: 121.7 kB / 442.4 MB, free: 5.992 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003163/0.01848, allocations: 303 kB / 442.7 MB, free: 5.684 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01848, allocations: 0 / 442.7 MB, free: 5.684 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003879/0.01887, allocations: 320.8 kB / 443 MB, free: 5.352 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.97e-05/0.01894, allocations: 65.66 kB / 443.1 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.01894, allocations: 0 / 443.1 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.01896, allocations: 0 / 443.1 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.01896, allocations: 0 / 443.1 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.01896, allocations: 0 / 443.1 MB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.104e-05/0.01902, allocations: 15.89 kB / 443.1 MB, free: 5.266 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.01904, allocations: 8.062 kB / 443.1 MB, free: 5.258 MB / 366.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.0001842/0.01923, allocations: 203.3 kB / 443.3 MB, free: 5.043 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.01926, allocations: 19.84 kB / 443.3 MB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.506e-05/0.01927, allocations: 13.28 kB / 443.3 MB, free: 5.012 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01928, allocations: 3.984 kB / 443.3 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.01928, allocations: 4 kB / 443.3 MB, free: 5.004 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.01928, allocations: 0 / 443.3 MB, free: 5.004 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.01942, allocations: 141.1 kB / 443.5 MB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.01942, allocations: 3.938 kB / 443.5 MB, free: 4.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.507e-06/0.01942, allocations: 7.938 kB / 443.5 MB, free: 4.824 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.01943, allocations: 7.938 kB / 443.5 MB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.01944, allocations: 4 kB / 443.5 MB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.01944, allocations: 4 kB / 443.5 MB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01944, allocations: 0 / 443.5 MB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006592/0.0201, allocations: 0.5134 MB / 444 MB, free: 4.266 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.946e-05/0.02012, allocations: 15.84 kB / 444 MB, free: 4.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.02015, allocations: 7.938 kB / 444 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.047e-05/0.02019, allocations: 4 kB / 444 MB, free: 4.238 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/0.02021, allocations: 0 / 444 MB, free: 4.238 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.02023, allocations: 12 kB / 444 MB, free: 4.227 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.595e-05/0.02032, allocations: 114.1 kB / 444.1 MB, free: 4.117 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02032, allocations: 4.031 kB / 444.2 MB, free: 4.113 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008263/0.02114, allocations: 339.3 kB / 444.5 MB, free: 3.781 MB / 366.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.0009817/0.02212, allocations: 409 kB / 444.9 MB, free: 3.371 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006425/0.02277, allocations: 0.4985 MB / 445.4 MB, free: 2.848 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.02277, allocations: 0 / 445.4 MB, free: 2.848 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003159/0.02308, allocations: 300.9 kB / 445.7 MB, free: 2.535 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.02328, allocations: 19.33 kB / 445.7 MB, free: 2.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007789/0.02406, allocations: 0.5191 MB / 446.2 MB, free: 1.969 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.02418, allocations: 114 kB / 446.3 MB, free: 1.836 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.134e-05/0.02419, allocations: 0 / 446.3 MB, free: 1.836 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.571e-05/0.02421, allocations: 12.5 kB / 446.3 MB, free: 1.824 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.02421, allocations: 0 / 446.3 MB, free: 1.824 MB / 366.1 MB [CodegenCFunctions.tpl:5727:13-5727: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.5912250094115734] Failed to read output from testmodel.py, exit status != 0: 0.19212039932608604 0.202748003 0.185761362 Calling exit ...