Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.001427/0.001427, allocations: 84.34 kB / 20.96 MB, free: 3.453 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.001507/0.001507, allocations: 165.3 kB / 24.27 MB, free: 148 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.483/1.483, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.3061/0.3061, allocations: 29.41 MB / 290.5 MB, free: 2.434 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_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.735e-05/3.897e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003552/0.003591, allocations: 2.215 MB / 371.1 MB, free: 9.066 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003391/0.006981, allocations: 1.895 MB / 373 MB, free: 7.16 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.798e-05/0.007049, allocations: 0 / 373 MB, free: 7.16 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.007181, allocations: 19.91 kB / 373 MB, free: 7.141 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.165e-05/0.007273, allocations: 27.78 kB / 373.1 MB, free: 7.113 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002646/0.009919, allocations: 0.9662 MB / 374 MB, free: 6.145 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.01007, allocations: 79.62 kB / 374.1 MB, free: 6.066 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.96e-05/0.01011, allocations: 4.188 kB / 374.1 MB, free: 6.062 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.01028, allocations: 43.83 kB / 374.1 MB, free: 6.02 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.028e-05/0.01037, allocations: 47.88 kB / 374.2 MB, free: 5.973 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.534e-05/0.01038, allocations: 4 kB / 374.2 MB, free: 5.969 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003143/0.01352, allocations: 1.894 MB / 376.1 MB, free: 4.07 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.595e-05/0.01359, allocations: 39.83 kB / 376.1 MB, free: 4.031 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.672e-05/0.01364, allocations: 15.94 kB / 376.1 MB, free: 4.016 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002067/0.0157, allocations: 1.508 MB / 377.7 MB, free: 2.504 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.01571, allocations: 4 kB / 377.7 MB, free: 2.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01571, allocations: 4 kB / 377.7 MB, free: 2.496 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.01572, allocations: 0 / 377.7 MB, free: 2.496 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008779/0.01659, allocations: 0.498 MB / 378.2 MB, free: 1.961 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.01663, allocations: 11.98 kB / 378.2 MB, free: 1.949 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.94e-05/0.01669, allocations: 16.84 kB / 378.2 MB, free: 1.934 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.0169, allocations: 137.6 kB / 378.3 MB, free: 1.773 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.01691, allocations: 384 / 378.3 MB, free: 1.773 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.01693, allocations: 3.938 kB / 378.3 MB, free: 1.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.01718, allocations: 165.6 kB / 378.5 MB, free: 1.598 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.01719, allocations: 0 / 378.5 MB, free: 1.598 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.0172, allocations: 0 / 378.5 MB, free: 1.598 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.01721, allocations: 4 kB / 378.5 MB, free: 1.594 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.01736, allocations: 133.6 kB / 378.6 MB, free: 1.457 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001689/0.01753, allocations: 129.2 kB / 378.7 MB, free: 1.301 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.01772, allocations: 140.4 kB / 378.9 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.0179, allocations: 134.7 kB / 379 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.01791, allocations: 7.938 kB / 379 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.01795, allocations: 30.56 kB / 379.1 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 9.02e-07/0.01795, allocations: 0 / 379.1 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.0007185/0.01867, allocations: 470.3 kB / 379.5 MB, free: 488 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.133e-05/0.01875, allocations: 101.1 kB / 379.6 MB, free: 368 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001705/0.01892, allocations: 153.4 kB / 379.8 MB, free: 204 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.01894, allocations: 29.7 kB / 379.8 MB, free: 168 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.041e-05/0.01901, allocations: 100.6 kB / 379.9 MB, free: 64 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.01912, allocations: 83.3 kB / 380 MB, free: 15.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.618e-05/0.01918, allocations: 33.64 kB / 380 MB, free: 15.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.01935, allocations: 322.8 kB / 380.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.01951, allocations: 137.5 kB / 380.5 MB, free: 15.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.01965, allocations: 121.7 kB / 380.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003407/0.01999, allocations: 290.2 kB / 380.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.01999, allocations: 0 / 380.9 MB, free: 15.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004097/0.0204, allocations: 334.2 kB / 381.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.678e-05/0.02048, allocations: 69.72 kB / 381.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.02048, allocations: 0 / 381.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.0205, allocations: 0 / 381.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-07/0.0205, allocations: 0 / 381.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.0205, allocations: 0 / 381.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.917e-05/0.02056, allocations: 15.89 kB / 381.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.618e-05/0.02059, allocations: 7.984 kB / 381.3 MB, free: 14.61 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.0002101/0.0208, allocations: 195.5 kB / 381.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.835e-05/0.02085, allocations: 27.84 kB / 381.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.827e-05/0.02087, allocations: 9.281 kB / 381.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.02087, allocations: 8 kB / 381.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.02087, allocations: 0 / 381.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.02088, allocations: 3.984 kB / 381.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.02102, allocations: 133.2 kB / 381.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.02102, allocations: 0 / 381.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-07/0.02102, allocations: 0 / 381.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.02102, allocations: 3.938 kB / 381.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.02104, allocations: 4 kB / 381.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.02104, allocations: 0 / 381.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.02104, allocations: 0 / 381.6 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000706/0.02175, allocations: 0.5234 MB / 382.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.47e-05/0.02177, allocations: 19.88 kB / 382.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.0218, allocations: 7.938 kB / 382.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.099e-05/0.02184, allocations: 4 kB / 382.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.02187, allocations: 8 kB / 382.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.02189, allocations: 4 kB / 382.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001033/0.02199, allocations: 119.1 kB / 382.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02199, allocations: 0 / 382.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009371/0.02293, allocations: 347.3 kB / 382.7 MB, free: 13.13 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.00103/0.02396, allocations: 406.2 kB / 383.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006694/0.02463, allocations: 0.5063 MB / 383.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.02463, allocations: 0 / 383.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003356/0.02497, allocations: 293 kB / 383.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.02517, allocations: 15.23 kB / 383.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008403/0.02601, allocations: 0.5221 MB / 384.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.02613, allocations: 117.8 kB / 384.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.3e-05/0.02615, allocations: 0 / 384.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.866e-05/0.02617, allocations: 8.5 kB / 384.5 MB, free: 11.19 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.02617, allocations: 0 / 384.5 MB, free: 11.19 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.43359623698052]