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.001193/0.001193, allocations: 67.77 kB / 21.69 MB, free: 2.855 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.0009025/0.0009025, allocations: 166.7 kB / 24.99 MB, free: 8.789 MB / 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.019/1.019, allocations: 177.1 MB / 205.3 MB, free: 5.609 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.2464/0.2464, allocations: 29.41 MB / 291.2 MB, free: 2.508 MB / 266.7 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_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.764e-06/1.764e-06, allocations: 0 / 369.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.54e-05, allocations: 5.969 kB / 369.6 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.002552/0.002578, allocations: 2.265 MB / 371.9 MB, free: 9.004 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0023/0.004878, allocations: 1.957 MB / 373.9 MB, free: 7.035 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.24e-05/0.00494, allocations: 0 / 373.9 MB, free: 7.035 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.005071, allocations: 7.922 kB / 373.9 MB, free: 7.027 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.271e-05/0.005153, allocations: 39.69 kB / 373.9 MB, free: 6.988 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002052/0.007205, allocations: 0.9701 MB / 374.9 MB, free: 6.016 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000164/0.007369, allocations: 79.62 kB / 374.9 MB, free: 5.938 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.233e-05/0.007421, allocations: 4.188 kB / 374.9 MB, free: 5.934 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.007604, allocations: 43.88 kB / 375 MB, free: 5.891 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.167e-05/0.007695, allocations: 35.89 kB / 375 MB, free: 5.855 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.007709, allocations: 0 / 375 MB, free: 5.855 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003032/0.01074, allocations: 1.898 MB / 376.9 MB, free: 3.953 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.624e-05/0.01079, allocations: 23.92 kB / 376.9 MB, free: 3.93 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.62e-05/0.01082, allocations: 15.94 kB / 377 MB, free: 3.914 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002048/0.01287, allocations: 1.488 MB / 378.5 MB, free: 2.422 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.01287, allocations: 0 / 378.5 MB, free: 2.422 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01288, allocations: 0 / 378.5 MB, free: 2.422 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.01288, allocations: 0 / 378.5 MB, free: 2.422 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.0007782/0.01366, allocations: 0.5553 MB / 379 MB, free: 1.824 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.0137, allocations: 15.98 kB / 379 MB, free: 1.809 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.137e-05/0.01376, allocations: 8.891 kB / 379 MB, free: 1.801 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.01391, allocations: 132.4 kB / 379.2 MB, free: 1.645 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.01392, allocations: 3.938 kB / 379.2 MB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.01393, allocations: 4 kB / 379.2 MB, free: 1.637 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.01407, allocations: 87.2 kB / 379.3 MB, free: 1.543 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.01407, allocations: 0 / 379.3 MB, free: 1.543 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.01408, allocations: 7.938 kB / 379.3 MB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.01409, allocations: 0 / 379.3 MB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.422e-05/0.01413, allocations: 45.69 kB / 379.3 MB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001219/0.01426, allocations: 124.6 kB / 379.4 MB, free: 1.328 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.989e-05/0.01435, allocations: 76.64 kB / 379.5 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.44e-05/0.0144, allocations: 53.41 kB / 379.6 MB, free: 1.172 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.079e-06/0.01441, allocations: 0 / 379.6 MB, free: 1.172 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.01443, allocations: 33.39 kB / 379.6 MB, free: 1.129 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.022e-06/0.01443, allocations: 8 kB / 379.6 MB, free: 1.121 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003024/0.01473, allocations: 202.7 kB / 379.8 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.01479, allocations: 89.05 kB / 379.9 MB, free: 0.793 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.01489, allocations: 192.4 kB / 380.1 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.01491, allocations: 25.7 kB / 380.1 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.565e-05/0.01495, allocations: 142.9 kB / 380.2 MB, free: 424 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.766e-05/0.01499, allocations: 31.7 kB / 380.3 MB, free: 392 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-05/0.01505, allocations: 35.58 kB / 380.3 MB, free: 348 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.0152, allocations: 0.4962 MB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.589e-05/0.01526, allocations: 45.62 kB / 380.8 MB, free: 15.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.762e-05/0.0153, allocations: 45.73 kB / 380.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.01542, allocations: 111.1 kB / 381 MB, free: 15.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.01542, allocations: 4 kB / 381 MB, free: 15.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001868/0.01561, allocations: 164.9 kB / 381.2 MB, free: 15.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.795e-05/0.01566, allocations: 41.69 kB / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.01566, allocations: 0 / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.01568, allocations: 0 / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.001e-06/0.01568, allocations: 0 / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.01568, allocations: 4 kB / 381.2 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.148e-05/0.01573, allocations: 7.922 kB / 381.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.01575, allocations: 7.984 kB / 381.2 MB, free: 15.36 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.0001179/0.01586, allocations: 202.3 kB / 381.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.01589, allocations: 19.89 kB / 381.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.199e-05/0.01591, allocations: 16.7 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.01592, allocations: 4 kB / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.01592, allocations: 0 / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.01592, allocations: 0 / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.01603, allocations: 128.6 kB / 381.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01603, allocations: 0 / 381.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.355e-06/0.01603, allocations: 3.938 kB / 381.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01604, allocations: 0 / 381.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.01605, allocations: 7.984 kB / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01605, allocations: 4 kB / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.01605, allocations: 0 / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.01633, allocations: 226.9 kB / 381.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.221e-05/0.01635, allocations: 19.78 kB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.01637, allocations: 4 kB / 381.8 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.182e-05/0.0164, allocations: 4 kB / 381.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.217e-05/0.01642, allocations: 7.984 kB / 381.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.01644, allocations: 4 kB / 381.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.562e-05/0.01651, allocations: 143.1 kB / 382 MB, free: 14.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01651, allocations: 0 / 382 MB, free: 14.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001061/0.01757, allocations: 327.4 kB / 382.3 MB, free: 14.17 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.001009/0.01858, allocations: 410.1 kB / 382.7 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002527/0.01883, allocations: 202.4 kB / 382.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.01884, allocations: 0 / 382.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.01895, allocations: 144.7 kB / 383.1 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.01917, allocations: 14.88 kB / 383.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007139/0.01988, allocations: 291.5 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.664e-05/0.01993, allocations: 67.34 kB / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.39e-05/0.01994, allocations: 0 / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.805e-05/0.01996, allocations: 12.5 kB / 383.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01996, allocations: 0 / 383.4 MB, free: 12.95 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.966564878122881]