Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.001594/0.001594, allocations: 85.56 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.001686/0.001686, allocations: 166.9 kB / 23.96 MB, free: 4.145 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.381/1.381, allocations: 177.1 MB / 204.3 MB, free: 9.18 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.1699/0.1699, allocations: 29.44 MB / 290.1 MB, free: 3.273 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.TransDatFromEqCirc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|tc_d.1.|tc_d.2.|tc_q.1.|tc_q.2.|to_d.1.|to_d.2.|to_q.1.|to_q.2.|xtr_d.1.|xtr_d.2.|xtr_q.1.|xtr_q.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|tc_d.1.|tc_d.2.|tc_q.1.|tc_q.2.|to_d.1.|to_d.2.|to_q.1.|to_q.2.|xtr_d.1.|xtr_d.2.|xtr_q.1.|xtr_q.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 430.7 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.51e-05/3.638e-05, allocations: 2.281 kB / 430.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.003365/0.003402, allocations: 2.234 MB / 433 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.005157, allocations: 1.029 MB / 434 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.127e-05/0.005208, allocations: 4 kB / 434 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.005329, allocations: 11.91 kB / 434 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.005448, allocations: 55.67 kB / 434.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.006492, allocations: 338.9 kB / 434.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001901/0.006683, allocations: 119.5 kB / 434.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.837e-05/0.006721, allocations: 8 kB / 434.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.006894, allocations: 67.73 kB / 434.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.007021, allocations: 67.83 kB / 434.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.007034, allocations: 4 kB / 434.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009673/0.008001, allocations: 0.5688 MB / 435.2 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.441e-05/0.008066, allocations: 35.89 kB / 435.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.842e-05/0.008114, allocations: 23.94 kB / 435.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008472/0.008961, allocations: 0.565 MB / 435.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.008964, allocations: 0 / 435.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.008965, allocations: 0 / 435.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.00897, allocations: 0 / 435.9 MB, free: 12.77 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005528/0.009522, allocations: 391.1 kB / 436.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.009559, allocations: 12.03 kB / 436.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.387e-05/0.009602, allocations: 8.891 kB / 436.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.009777, allocations: 141.5 kB / 436.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.009789, allocations: 384 / 436.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.009802, allocations: 4.375 kB / 436.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002351/0.01004, allocations: 151.2 kB / 436.5 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.01005, allocations: 7.875 kB / 436.6 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.01006, allocations: 4 kB / 436.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.01006, allocations: 0 / 436.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.01021, allocations: 117.6 kB / 436.7 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001442/0.01035, allocations: 113.3 kB / 436.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.01053, allocations: 128.2 kB / 436.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.01066, allocations: 122.5 kB / 437 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.695e-06/0.01067, allocations: 0 / 437 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.01071, allocations: 34.56 kB / 437.1 MB, free: 11.42 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 9.12e-07/0.01071, allocations: 0 / 437.1 MB, free: 11.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005485/0.01126, allocations: 418.8 kB / 437.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.896e-05/0.01134, allocations: 93.09 kB / 437.6 MB, free: 10.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.01146, allocations: 136.5 kB / 437.7 MB, free: 10.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.01148, allocations: 29.7 kB / 437.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.612e-05/0.01154, allocations: 92.45 kB / 437.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.7e-05/0.01161, allocations: 67.38 kB / 437.9 MB, free: 10.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/0.01166, allocations: 29.7 kB / 437.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.01183, allocations: 330.9 kB / 438.2 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.01196, allocations: 109.7 kB / 438.3 MB, free: 10.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.01209, allocations: 113.6 kB / 438.4 MB, free: 9.941 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002876/0.01238, allocations: 255.1 kB / 438.7 MB, free: 9.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01238, allocations: 0 / 438.7 MB, free: 9.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003547/0.01274, allocations: 288.8 kB / 439 MB, free: 9.379 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.123e-05/0.01281, allocations: 61.66 kB / 439 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.01282, allocations: 7.875 kB / 439 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.01283, allocations: 0 / 439 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.047e-06/0.01283, allocations: 3.984 kB / 439.1 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.01284, allocations: 8.047 kB / 439.1 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.49e-05/0.01289, allocations: 7.938 kB / 439.1 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.01292, allocations: 8 kB / 439.1 MB, free: 9.277 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.0001642/0.01308, allocations: 175.5 kB / 439.2 MB, free: 9.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.01311, allocations: 15.91 kB / 439.3 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.237e-05/0.01313, allocations: 17.05 kB / 439.3 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.01313, allocations: 0 / 439.3 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.01313, allocations: 0 / 439.3 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.01314, allocations: 0 / 439.3 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.01326, allocations: 133.2 kB / 439.4 MB, free: 8.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.01326, allocations: 0 / 439.4 MB, free: 8.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.12e-07/0.01326, allocations: 4 kB / 439.4 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.01326, allocations: 0 / 439.4 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.01328, allocations: 4 kB / 439.4 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.01328, allocations: 7.938 kB / 439.4 MB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01328, allocations: 3.938 kB / 439.4 MB, free: 8.875 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005608/0.01384, allocations: 444.2 kB / 439.9 MB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.983e-05/0.01387, allocations: 19.84 kB / 439.9 MB, free: 8.391 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.01389, allocations: 4 kB / 439.9 MB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.417e-05/0.01394, allocations: 7.938 kB / 439.9 MB, free: 8.379 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.01396, allocations: 4 kB / 439.9 MB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.01398, allocations: 8.031 kB / 439.9 MB, free: 8.367 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.611e-05/0.01405, allocations: 107.2 kB / 440 MB, free: 8.262 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01405, allocations: 0 / 440 MB, free: 8.262 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004355/0.01449, allocations: 131.8 kB / 440.1 MB, free: 8.133 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.0004741/0.01496, allocations: 198.3 kB / 440.3 MB, free: 7.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005562/0.01552, allocations: 433.2 kB / 440.8 MB, free: 7.484 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01552, allocations: 0 / 440.8 MB, free: 7.484 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002837/0.01581, allocations: 257 kB / 441 MB, free: 7.215 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.01602, allocations: 24.11 kB / 441 MB, free: 7.191 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006689/0.01669, allocations: 447.3 kB / 441.5 MB, free: 6.723 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.695e-05/0.01679, allocations: 100.3 kB / 441.6 MB, free: 6.605 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.52e-05/0.01681, allocations: 0 / 441.6 MB, free: 6.605 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.669e-05/0.01682, allocations: 8.5 kB / 441.6 MB, free: 6.598 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.01682, allocations: 4 kB / 441.6 MB, free: 6.594 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.5526831448078156] Failed to read output from testmodel.py, exit status != 0: 0.03386584296822548 0.20749497600000003 0.196004846 Calling exit ...