Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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.0009532/0.0009532, allocations: 71.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.001227/0.001227, allocations: 166.6 kB / 24.99 MB, free: 8.746 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 0.9793/0.9793, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.248/0.248, allocations: 29.42 MB / 291.2 MB, free: 2.52 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_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.165e-06/2.165e-06, allocations: 3.938 kB / 369.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.744e-05/2.961e-05, allocations: 2.312 kB / 369.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.002517/0.002547, allocations: 2.265 MB / 371.9 MB, free: 9.027 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002692/0.005239, allocations: 1.953 MB / 373.9 MB, free: 7.062 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.57e-05/0.005314, allocations: 4 kB / 373.9 MB, free: 7.059 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001717/0.005486, allocations: 11.92 kB / 373.9 MB, free: 7.047 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.185e-05/0.005578, allocations: 39.7 kB / 373.9 MB, free: 7.008 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.007471, allocations: 0.9661 MB / 374.9 MB, free: 6.039 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.007615, allocations: 79.67 kB / 375 MB, free: 5.961 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.364e-05/0.007659, allocations: 8.188 kB / 375 MB, free: 5.953 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.007784, allocations: 43.88 kB / 375 MB, free: 5.91 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.127e-05/0.007855, allocations: 35.89 kB / 375 MB, free: 5.875 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.007865, allocations: 3.938 kB / 375 MB, free: 5.871 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002211/0.01008, allocations: 1.902 MB / 376.9 MB, free: 3.965 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.219e-05/0.01012, allocations: 15.98 kB / 377 MB, free: 3.949 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.562e-05/0.01015, allocations: 11.94 kB / 377 MB, free: 3.938 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001697/0.01185, allocations: 1.477 MB / 378.4 MB, free: 2.457 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.01185, allocations: 0 / 378.4 MB, free: 2.457 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.01186, allocations: 0 / 378.4 MB, free: 2.457 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.01186, allocations: 0 / 378.4 MB, free: 2.457 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006543/0.01252, allocations: 0.5321 MB / 379 MB, free: 1.883 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.01257, allocations: 11.98 kB / 379 MB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.011e-05/0.01264, allocations: 12.88 kB / 379 MB, free: 1.859 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.01282, allocations: 132.4 kB / 379.1 MB, free: 1.703 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.01284, allocations: 3.938 kB / 379.1 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.01286, allocations: 11.97 kB / 379.1 MB, free: 1.688 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.013, allocations: 71.39 kB / 379.2 MB, free: 1.605 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.01301, allocations: 4 kB / 379.2 MB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.01302, allocations: 0 / 379.2 MB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.01303, allocations: 0 / 379.2 MB, free: 1.602 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.434e-05/0.01307, allocations: 41.69 kB / 379.3 MB, free: 1.555 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/0.01321, allocations: 116.6 kB / 379.4 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8e-05/0.01329, allocations: 76.62 kB / 379.5 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.302e-05/0.01333, allocations: 45.41 kB / 379.5 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.01334, allocations: 4 kB / 379.5 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.01337, allocations: 37.39 kB / 379.5 MB, free: 1.207 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.492e-06/0.01337, allocations: 0 / 379.5 MB, free: 1.207 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002659/0.01364, allocations: 178.7 kB / 379.7 MB, free: 1.008 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.01369, allocations: 81.11 kB / 379.8 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.01382, allocations: 189.6 kB / 380 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.01383, allocations: 25.7 kB / 380 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.12e-05/0.01388, allocations: 142.9 kB / 380.1 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.729e-05/0.01393, allocations: 27.75 kB / 380.2 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.01397, allocations: 23.38 kB / 380.2 MB, free: 488 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.01415, allocations: 0.4923 MB / 380.7 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.718e-05/0.01421, allocations: 41.69 kB / 380.7 MB, free: 15.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.254e-05/0.01424, allocations: 37.7 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.635e-05/0.01433, allocations: 99.59 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.01433, allocations: 0 / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001469/0.01448, allocations: 141 kB / 381 MB, free: 15.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.612e-05/0.01453, allocations: 45.69 kB / 381 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.01454, allocations: 3.938 kB / 381 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.01456, allocations: 0 / 381 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.904e-06/0.01456, allocations: 0 / 381 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.01457, allocations: 0 / 381 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.412e-05/0.01462, allocations: 11.98 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.01464, allocations: 4 kB / 381.1 MB, free: 15.54 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.0001222/0.01477, allocations: 198.2 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.009e-05/0.01479, allocations: 19.92 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.865e-05/0.0148, allocations: 4.438 kB / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01481, allocations: 0 / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.01481, allocations: 0 / 381.3 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.01482, allocations: 4 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.817e-05/0.01491, allocations: 124.6 kB / 381.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.01492, allocations: 0 / 381.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.154e-06/0.01492, allocations: 3.938 kB / 381.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.01492, allocations: 0 / 381.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.01493, allocations: 4 kB / 381.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.01493, allocations: 0 / 381.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01493, allocations: 4 kB / 381.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.01512, allocations: 199.7 kB / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.378e-05/0.01514, allocations: 7.891 kB / 381.6 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.01515, allocations: 4 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.089e-05/0.01517, allocations: 3.938 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.746e-05/0.01519, allocations: 4 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.0152, allocations: 4 kB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.671e-05/0.01526, allocations: 135.2 kB / 381.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01526, allocations: 0 / 381.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008489/0.01611, allocations: 323.3 kB / 382.1 MB, free: 14.43 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.0008398/0.01694, allocations: 405.4 kB / 382.5 MB, free: 14.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001867/0.01713, allocations: 178.5 kB / 382.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01713, allocations: 0 / 382.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.126e-05/0.01719, allocations: 124.8 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.01737, allocations: 4 kB / 382.8 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005823/0.01795, allocations: 255.3 kB / 383 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.038e-05/0.01799, allocations: 67.28 kB / 383.1 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.638e-05/0.018, allocations: 0 / 383.1 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.164e-05/0.01803, allocations: 8.5 kB / 383.1 MB, free: 13.3 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01803, allocations: 0 / 383.1 MB, free: 13.3 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.8291582530364394]