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.0009993/0.0009993, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001795/0.001795, allocations: 165 kB / 24.56 MB, free: 12 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.9743/0.9743, allocations: 177.1 MB / 205 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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.2278/0.2278, allocations: 29.43 MB / 290.9 MB, free: 2.492 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.983e-06/1.983e-06, allocations: 0 / 369.7 MB, free: 10.97 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.776e-05/2.975e-05, allocations: 2.312 kB / 369.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.003549/0.003579, allocations: 2.269 MB / 371.9 MB, free: 8.676 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003212/0.006791, allocations: 1.961 MB / 373.9 MB, free: 6.703 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.041e-05/0.006861, allocations: 7.938 kB / 373.9 MB, free: 6.695 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.006996, allocations: 7.922 kB / 373.9 MB, free: 6.688 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.149e-05/0.007088, allocations: 35.77 kB / 373.9 MB, free: 6.652 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001805/0.008892, allocations: 0.974 MB / 374.9 MB, free: 5.676 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.008997, allocations: 75.64 kB / 375 MB, free: 5.602 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.405e-05/0.009031, allocations: 4.172 kB / 375 MB, free: 5.598 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.009148, allocations: 43.83 kB / 375 MB, free: 5.555 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.007e-05/0.009208, allocations: 39.89 kB / 375.1 MB, free: 5.516 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.009218, allocations: 4 kB / 375.1 MB, free: 5.512 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002104/0.01132, allocations: 1.909 MB / 377 MB, free: 3.598 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.945e-05/0.01136, allocations: 11.94 kB / 377 MB, free: 3.586 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/0.01139, allocations: 19.92 kB / 377 MB, free: 3.566 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.01277, allocations: 1.488 MB / 378.5 MB, free: 2.074 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.01278, allocations: 0 / 378.5 MB, free: 2.074 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01278, allocations: 4 kB / 378.5 MB, free: 2.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.01278, allocations: 0 / 378.5 MB, free: 2.07 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.0004927/0.01327, allocations: 0.5475 MB / 379.1 MB, free: 1.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.01331, allocations: 19.98 kB / 379.1 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.01335, allocations: 8.891 kB / 379.1 MB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.01345, allocations: 128.5 kB / 379.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.705e-06/0.01346, allocations: 3.938 kB / 379.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.01347, allocations: 11.94 kB / 379.2 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.267e-05/0.01356, allocations: 78.98 kB / 379.3 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.758e-06/0.01357, allocations: 0 / 379.3 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.996e-06/0.01358, allocations: 0 / 379.3 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.01358, allocations: 4 kB / 379.3 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.051e-05/0.01361, allocations: 45.69 kB / 379.3 MB, free: 1.145 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.833e-05/0.0137, allocations: 124.6 kB / 379.5 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.489e-05/0.01376, allocations: 80.69 kB / 379.5 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.033e-05/0.01379, allocations: 53.58 kB / 379.6 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.359e-06/0.01379, allocations: 3.984 kB / 379.6 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.01381, allocations: 37.33 kB / 379.6 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 7.01e-07/0.01381, allocations: 0 / 379.6 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001785/0.01399, allocations: 206.7 kB / 379.8 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.01402, allocations: 93.09 kB / 379.9 MB, free: 452 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.425e-05/0.0141, allocations: 188.4 kB / 380.1 MB, free: 248 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.226e-06/0.01411, allocations: 25.7 kB / 380.1 MB, free: 216 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.729e-05/0.01414, allocations: 138.9 kB / 380.3 MB, free: 72 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.01418, allocations: 39.72 kB / 380.3 MB, free: 32 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.01421, allocations: 27.38 kB / 380.3 MB, free: 16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.879e-05/0.01431, allocations: 0.5 MB / 380.8 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.768e-05/0.01434, allocations: 45.69 kB / 380.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.64e-05/0.01437, allocations: 49.69 kB / 380.9 MB, free: 15.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.743e-05/0.01443, allocations: 111 kB / 381 MB, free: 15.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.01443, allocations: 0 / 381 MB, free: 15.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 9.535e-05/0.01453, allocations: 156.9 kB / 381.2 MB, free: 15.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.01456, allocations: 45.67 kB / 381.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-06/0.01456, allocations: 0 / 381.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.01457, allocations: 0 / 381.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.294e-06/0.01457, allocations: 4.062 kB / 381.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.01458, allocations: 0 / 381.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.816e-05/0.01461, allocations: 15.88 kB / 381.3 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.01462, allocations: 4 kB / 381.3 MB, free: 15.01 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 8.025e-05/0.0147, allocations: 198.2 kB / 381.5 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.01472, allocations: 19.89 kB / 381.5 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.334e-05/0.01473, allocations: 12.78 kB / 381.5 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.01473, allocations: 0 / 381.5 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.01474, allocations: 0 / 381.5 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.01474, allocations: 4 kB / 381.5 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.685e-05/0.0148, allocations: 136.5 kB / 381.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.0148, allocations: 0 / 381.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.124e-06/0.01481, allocations: 7.938 kB / 381.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.01481, allocations: 0 / 381.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.01482, allocations: 4 kB / 381.6 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.01482, allocations: 3.938 kB / 381.6 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01482, allocations: 0 / 381.6 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.01497, allocations: 227.2 kB / 381.9 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.205e-05/0.01498, allocations: 23.77 kB / 381.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.01499, allocations: 0 / 381.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.266e-05/0.01501, allocations: 7.938 kB / 381.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.481e-05/0.01502, allocations: 8.031 kB / 381.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-06/0.01503, allocations: 4 kB / 381.9 MB, free: 14.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.715e-05/0.01507, allocations: 143.1 kB / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01507, allocations: 0 / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000493/0.01557, allocations: 323.4 kB / 382.4 MB, free: 13.82 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.0006222/0.01619, allocations: 405.1 kB / 382.8 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001673/0.01636, allocations: 210.4 kB / 383 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.01636, allocations: 0 / 383 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.723e-05/0.01642, allocations: 140.8 kB / 383.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.01656, allocations: 12 kB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00049/0.01705, allocations: 291.5 kB / 383.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.465e-05/0.01708, allocations: 71.45 kB / 383.5 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.586e-06/0.01709, allocations: 4 kB / 383.5 MB, free: 12.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.164e-05/0.0171, allocations: 8.5 kB / 383.5 MB, free: 12.6 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.0171, allocations: 0 / 383.5 MB, free: 12.6 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.8757399418391287]