Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.001952/0.001952, allocations: 92.31 kB / 20.96 MB, free: 3.48 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.002439/0.002439, allocations: 161.7 kB / 24.26 MB, free: 180 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 1.557/1.557, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3124/0.3124, allocations: 29.42 MB / 290.5 MB, free: 2.422 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_matrixTrDat1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.06e-05/3.241e-05, allocations: 2.312 kB / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.0038/0.003833, allocations: 2.199 MB / 371.1 MB, free: 9.074 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003553/0.007386, allocations: 1.899 MB / 373 MB, free: 7.164 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.549e-05/0.007442, allocations: 4 kB / 373 MB, free: 7.16 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.007592, allocations: 7.922 kB / 373 MB, free: 7.152 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.007717, allocations: 31.83 kB / 373 MB, free: 7.121 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002666/0.01038, allocations: 0.97 MB / 374 MB, free: 6.148 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.01052, allocations: 75.64 kB / 374.1 MB, free: 6.074 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.714e-05/0.01055, allocations: 12.17 kB / 374.1 MB, free: 6.062 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.01072, allocations: 43.83 kB / 374.1 MB, free: 6.02 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.087e-05/0.01081, allocations: 43.88 kB / 374.2 MB, free: 5.977 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.01082, allocations: 0 / 374.2 MB, free: 5.977 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003436/0.01426, allocations: 1.898 MB / 376.1 MB, free: 4.074 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.394e-05/0.01431, allocations: 15.92 kB / 376.1 MB, free: 4.059 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.419e-05/0.01436, allocations: 15.94 kB / 376.1 MB, free: 4.043 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002393/0.01676, allocations: 1.488 MB / 377.6 MB, free: 2.551 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.01676, allocations: 0 / 377.6 MB, free: 2.551 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.01676, allocations: 0 / 377.6 MB, free: 2.551 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.01677, allocations: 0 / 377.6 MB, free: 2.551 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.0007969/0.01757, allocations: 466.3 kB / 378.1 MB, free: 2.059 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.01762, allocations: 15.98 kB / 378.1 MB, free: 2.043 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.229e-05/0.01769, allocations: 8.891 kB / 378.1 MB, free: 2.035 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.01791, allocations: 137.5 kB / 378.2 MB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.01792, allocations: 3.938 kB / 378.2 MB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.01793, allocations: 4 kB / 378.2 MB, free: 1.867 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.01814, allocations: 118.9 kB / 378.3 MB, free: 1.742 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.01815, allocations: 0 / 378.3 MB, free: 1.742 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.01816, allocations: 0 / 378.3 MB, free: 1.742 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.01817, allocations: 0 / 378.3 MB, free: 1.742 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.01827, allocations: 85.61 kB / 378.4 MB, free: 1.652 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.01843, allocations: 113.2 kB / 378.5 MB, free: 1.512 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.01858, allocations: 96.19 kB / 378.6 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.01869, allocations: 86.56 kB / 378.7 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.0187, allocations: 0 / 378.7 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.01873, allocations: 30.56 kB / 378.7 MB, free: 1.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 7.21e-07/0.01873, allocations: 0 / 378.7 MB, free: 1.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.000476/0.01921, allocations: 306.5 kB / 379 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.871e-05/0.01929, allocations: 89.11 kB / 379.1 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.01942, allocations: 132.5 kB / 379.3 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.01945, allocations: 25.7 kB / 379.3 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.667e-05/0.01952, allocations: 92.12 kB / 379.4 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.79e-05/0.01958, allocations: 35.69 kB / 379.4 MB, free: 0.543 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.795e-05/0.01963, allocations: 21.72 kB / 379.4 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.0198, allocations: 322.8 kB / 379.7 MB, free: 196 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.864e-05/0.0199, allocations: 81.67 kB / 379.8 MB, free: 108 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.813e-05/0.01999, allocations: 77.89 kB / 379.9 MB, free: 24 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.02022, allocations: 184.2 kB / 380.1 MB, free: 15.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.02022, allocations: 7.938 kB / 380.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002944/0.02052, allocations: 212.9 kB / 380.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.993e-05/0.02059, allocations: 53.67 kB / 380.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.02059, allocations: 0 / 380.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.02061, allocations: 0 / 380.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.02061, allocations: 0 / 380.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.02062, allocations: 0 / 380.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.239e-05/0.02067, allocations: 7.938 kB / 380.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.02069, allocations: 4 kB / 380.4 MB, free: 15.52 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.0001681/0.02086, allocations: 171.5 kB / 380.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/0.0209, allocations: 19.95 kB / 380.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.511e-05/0.02091, allocations: 4.781 kB / 380.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.02091, allocations: 0 / 380.6 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.02092, allocations: 4 kB / 380.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.02092, allocations: 4 kB / 380.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.02106, allocations: 121.2 kB / 380.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.02107, allocations: 3.938 kB / 380.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-07/0.02107, allocations: 0 / 380.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.02107, allocations: 4 kB / 380.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.02108, allocations: 0 / 380.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.02108, allocations: 8 kB / 380.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.02109, allocations: 3.984 kB / 380.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004519/0.02154, allocations: 331.4 kB / 381 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.027e-05/0.02156, allocations: 15.83 kB / 381 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.02158, allocations: 0 / 381 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.053e-05/0.02161, allocations: 4 kB / 381 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.436e-05/0.02163, allocations: 0 / 381 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.02164, allocations: 4 kB / 381 MB, free: 14.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.09e-05/0.02173, allocations: 109.3 kB / 381.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02173, allocations: 0 / 381.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008982/0.02263, allocations: 319.4 kB / 381.5 MB, free: 14.35 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.001018/0.02365, allocations: 417.7 kB / 381.9 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004263/0.02407, allocations: 310.7 kB / 382.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.02408, allocations: 3.938 kB / 382.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002181/0.02429, allocations: 193 kB / 382.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.02458, allocations: 7.938 kB / 382.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007711/0.02535, allocations: 346.2 kB / 382.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.02546, allocations: 91.22 kB / 382.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.197e-05/0.02547, allocations: 0 / 382.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.777e-05/0.02549, allocations: 8.5 kB / 382.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.02549, allocations: 3.938 kB / 382.8 MB, free: 12.89 MB / 362.7 MB [CodegenCFunctions.tpl:5860:13-5860: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.5706430749269202]