Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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.0009578/0.0009578, allocations: 83.58 kB / 21.19 MB, free: 3.387 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.00093/0.00093, allocations: 161 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.999/0.999, allocations: 177.1 MB / 205 MB, free: 5.164 MB / 186.7 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.2427/0.2427, allocations: 29.43 MB / 290.9 MB, free: 2.48 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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_matrixTrDat1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.|zx_d.[0-9,]+.|zx_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.|zx_d.[0-9,]+.|zx_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 369.7 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.452e-05/3.611e-05, allocations: 5.406 kB / 369.7 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.002488/0.002524, allocations: 2.269 MB / 371.9 MB, free: 8.707 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002246/0.00477, allocations: 1.968 MB / 373.9 MB, free: 6.73 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.594e-05/0.004826, allocations: 0 / 373.9 MB, free: 6.73 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001414/0.004967, allocations: 11.92 kB / 373.9 MB, free: 6.719 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.013e-05/0.005057, allocations: 31.77 kB / 373.9 MB, free: 6.688 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001813/0.00687, allocations: 0.9739 MB / 374.9 MB, free: 5.711 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.006987, allocations: 75.7 kB / 375 MB, free: 5.637 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.735e-05/0.007024, allocations: 192 / 375 MB, free: 5.637 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.007172, allocations: 51.88 kB / 375 MB, free: 5.586 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.802e-05/0.00724, allocations: 31.89 kB / 375.1 MB, free: 5.555 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.00725, allocations: 7.938 kB / 375.1 MB, free: 5.547 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002006/0.009257, allocations: 1.902 MB / 377 MB, free: 3.641 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.427e-05/0.009301, allocations: 19.92 kB / 377 MB, free: 3.621 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.009337, allocations: 15.98 kB / 377 MB, free: 3.605 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.01078, allocations: 1.496 MB / 378.5 MB, free: 2.105 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.01079, allocations: 0 / 378.5 MB, free: 2.105 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01079, allocations: 0 / 378.5 MB, free: 2.105 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.01079, allocations: 0 / 378.5 MB, free: 2.105 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005851/0.01138, allocations: 0.5475 MB / 379.1 MB, free: 1.516 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.01142, allocations: 15.98 kB / 379.1 MB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.452e-05/0.01148, allocations: 8.891 kB / 379.1 MB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.01162, allocations: 140.4 kB / 379.2 MB, free: 1.328 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.01164, allocations: 3.938 kB / 379.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.01165, allocations: 8 kB / 379.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.01177, allocations: 79.38 kB / 379.3 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.01177, allocations: 4 kB / 379.3 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.01178, allocations: 0 / 379.3 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.01179, allocations: 0 / 379.3 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.864e-05/0.01183, allocations: 53.23 kB / 379.4 MB, free: 1.168 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001043/0.01193, allocations: 124.6 kB / 379.5 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.508e-05/0.012, allocations: 68.7 kB / 379.5 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.347e-05/0.01204, allocations: 57.41 kB / 379.6 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.528e-06/0.01204, allocations: 0 / 379.6 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.01206, allocations: 37.39 kB / 379.6 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 9.11e-07/0.01207, allocations: 4 kB / 379.6 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002278/0.01229, allocations: 210.8 kB / 379.9 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.01233, allocations: 85.11 kB / 379.9 MB, free: 488 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.974e-05/0.01243, allocations: 189.9 kB / 380.1 MB, free: 280 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.01244, allocations: 25.7 kB / 380.1 MB, free: 248 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.39e-05/0.01249, allocations: 142.9 kB / 380.3 MB, free: 100 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.01253, allocations: 39.67 kB / 380.3 MB, free: 60 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.01256, allocations: 31.38 kB / 380.4 MB, free: 20 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.0127, allocations: 0.4923 MB / 380.8 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.768e-05/0.01274, allocations: 45.69 kB / 380.9 MB, free: 15.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.867e-05/0.01276, allocations: 45.73 kB / 380.9 MB, free: 15.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.796e-05/0.01284, allocations: 115.1 kB / 381 MB, free: 15.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01284, allocations: 0 / 381 MB, free: 15.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001225/0.01297, allocations: 160.8 kB / 381.2 MB, free: 15.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.014e-05/0.01302, allocations: 45.69 kB / 381.3 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.01303, allocations: 0 / 381.3 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.01304, allocations: 0 / 381.3 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.782e-06/0.01304, allocations: 11.98 kB / 381.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.01305, allocations: 0 / 381.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.974e-05/0.01309, allocations: 3.938 kB / 381.3 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.01311, allocations: 4 kB / 381.3 MB, free: 15.04 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 9.255e-05/0.0132, allocations: 206.3 kB / 381.5 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.01322, allocations: 15.89 kB / 381.5 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.594e-05/0.01323, allocations: 8.766 kB / 381.5 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.01323, allocations: 4 kB / 381.5 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.01324, allocations: 0 / 381.5 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.01324, allocations: 0 / 381.5 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.292e-05/0.01331, allocations: 132.6 kB / 381.6 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01331, allocations: 0 / 381.6 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.166e-06/0.01332, allocations: 7.922 kB / 381.6 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.01332, allocations: 0 / 381.6 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.01333, allocations: 8 kB / 381.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.01333, allocations: 0 / 381.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01333, allocations: 0 / 381.6 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.01351, allocations: 230.8 kB / 381.9 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.342e-05/0.01353, allocations: 19.78 kB / 381.9 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.01354, allocations: 7.984 kB / 381.9 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.968e-05/0.01356, allocations: 0 / 381.9 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.629e-05/0.01358, allocations: 4 kB / 381.9 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.01359, allocations: 4 kB / 381.9 MB, free: 14.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.872e-05/0.01364, allocations: 149.4 kB / 382.1 MB, free: 14.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01364, allocations: 0 / 382.1 MB, free: 14.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005737/0.01421, allocations: 323.4 kB / 382.4 MB, free: 13.86 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.0007193/0.01493, allocations: 417.2 kB / 382.8 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001951/0.01512, allocations: 202.4 kB / 383 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01513, allocations: 0 / 383 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.59e-05/0.0152, allocations: 144.8 kB / 383.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.01536, allocations: 12.12 kB / 383.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006068/0.01596, allocations: 283.6 kB / 383.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.896e-05/0.01601, allocations: 67.34 kB / 383.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.328e-05/0.01602, allocations: 3.984 kB / 383.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.727e-05/0.01604, allocations: 12.5 kB / 383.5 MB, free: 12.63 MB / 362.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01604, allocations: 3.938 kB / 383.5 MB, free: 12.62 MB / 362.7 MB [CodegenCFunctions.tpl:6359:13-6359: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.9199646608904004]