Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.00137/0.00137, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001765/0.001765, allocations: 161 kB / 24.55 MB, free: 20 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.9669/0.9669, allocations: 177.1 MB / 205 MB, free: 5.617 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.2317/0.2317, allocations: 29.41 MB / 290.9 MB, free: 2.527 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_matrixTrDat3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.186e-05/2.357e-05, allocations: 5.969 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.003292/0.003315, allocations: 2.273 MB / 371.9 MB, free: 8.707 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002798/0.006113, allocations: 1.965 MB / 373.9 MB, free: 6.73 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.375e-05/0.006177, allocations: 0 / 373.9 MB, free: 6.73 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.006317, allocations: 7.922 kB / 373.9 MB, free: 6.723 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.721e-05/0.006414, allocations: 43.7 kB / 373.9 MB, free: 6.68 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002066/0.00848, allocations: 0.9701 MB / 374.9 MB, free: 5.707 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.0086, allocations: 75.64 kB / 375 MB, free: 5.633 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.751e-05/0.008638, allocations: 8.172 kB / 375 MB, free: 5.625 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001234/0.008761, allocations: 43.89 kB / 375 MB, free: 5.582 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.079e-05/0.008832, allocations: 43.88 kB / 375.1 MB, free: 5.539 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.008843, allocations: 4 kB / 375.1 MB, free: 5.535 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002023/0.01087, allocations: 1.905 MB / 377 MB, free: 3.625 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.702e-05/0.01092, allocations: 43.86 kB / 377 MB, free: 3.582 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.547e-05/0.01097, allocations: 27.86 kB / 377.1 MB, free: 3.555 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001711/0.01268, allocations: 1.543 MB / 378.6 MB, free: 2.008 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.01268, allocations: 0 / 378.6 MB, free: 2.008 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01268, allocations: 0 / 378.6 MB, free: 2.008 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.01269, allocations: 0 / 378.6 MB, free: 2.008 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006831/0.01337, allocations: 0.6446 MB / 379.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.01342, allocations: 11.98 kB / 379.3 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.361e-05/0.01348, allocations: 20.8 kB / 379.3 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.01363, allocations: 152.3 kB / 379.4 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.01364, allocations: 384 / 379.4 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.01366, allocations: 3.938 kB / 379.4 MB, free: 1.109 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.01381, allocations: 133.2 kB / 379.6 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.01382, allocations: 0 / 379.6 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.01383, allocations: 0 / 379.6 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.01384, allocations: 0 / 379.6 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.674e-05/0.01389, allocations: 82.02 kB / 379.6 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000122/0.01402, allocations: 153.1 kB / 379.8 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.085e-05/0.01411, allocations: 109.1 kB / 379.9 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.119e-05/0.01417, allocations: 93.72 kB / 380 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-06/0.01418, allocations: 11.88 kB / 380 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.0142, allocations: 33.39 kB / 380 MB, free: 424 kB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 9.52e-07/0.0142, allocations: 0 / 380 MB, free: 424 kB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.0003994/0.0146, allocations: 442.5 kB / 380.5 MB, free: 15.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.01464, allocations: 105 kB / 380.6 MB, free: 15.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.01475, allocations: 221.9 kB / 380.8 MB, free: 15.6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.01477, allocations: 29.7 kB / 380.8 MB, free: 15.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.01482, allocations: 159.5 kB / 381 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.912e-05/0.0149, allocations: 134.8 kB / 381.1 MB, free: 15.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.01494, allocations: 51.36 kB / 381.1 MB, free: 15.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.01506, allocations: 0.5118 MB / 381.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.3e-05/0.01512, allocations: 81.69 kB / 381.7 MB, free: 14.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.209e-05/0.01518, allocations: 86.59 kB / 381.8 MB, free: 14.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.01532, allocations: 223.2 kB / 382 MB, free: 14.28 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01532, allocations: 0 / 382 MB, free: 14.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002169/0.01554, allocations: 312.7 kB / 382.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.638e-05/0.0156, allocations: 73.64 kB / 382.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.0156, allocations: 8.047 kB / 382.4 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.01562, allocations: 4 kB / 382.4 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.216e-06/0.01562, allocations: 0 / 382.4 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.01563, allocations: 0 / 382.4 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.31e-05/0.01567, allocations: 23.78 kB / 382.4 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.01569, allocations: 12 kB / 382.5 MB, free: 13.83 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.000116/0.01581, allocations: 246.1 kB / 382.7 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.01584, allocations: 39.8 kB / 382.7 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.983e-05/0.01586, allocations: 6.656 kB / 382.7 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.01586, allocations: 4 kB / 382.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.01586, allocations: 4 kB / 382.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.01587, allocations: 0 / 382.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001037/0.01597, allocations: 168.4 kB / 382.9 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.01597, allocations: 7.969 kB / 382.9 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.92e-07/0.01598, allocations: 0 / 382.9 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.01598, allocations: 3.938 kB / 382.9 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.01599, allocations: 8 kB / 382.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.016, allocations: 0 / 382.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.016, allocations: 0 / 382.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003852/0.01638, allocations: 475.5 kB / 383.4 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.085e-05/0.0164, allocations: 27.73 kB / 383.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.01642, allocations: 15.97 kB / 383.4 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.391e-05/0.01645, allocations: 8 kB / 383.5 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.249e-05/0.01647, allocations: 0 / 383.5 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.01649, allocations: 19.92 kB / 383.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.013e-05/0.01655, allocations: 164.2 kB / 383.6 MB, free: 12.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01655, allocations: 0 / 383.6 MB, free: 12.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007607/0.01731, allocations: 347.4 kB / 384 MB, free: 12.23 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.000714/0.01802, allocations: 425.8 kB / 384.4 MB, free: 11.81 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003405/0.01836, allocations: 394.3 kB / 384.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01836, allocations: 0 / 384.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004328/0.0188, allocations: 260.6 kB / 385 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.01897, allocations: 22.2 kB / 385.1 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008071/0.01978, allocations: 0.5511 MB / 385.6 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.975e-05/0.01984, allocations: 95.8 kB / 385.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.91e-05/0.01986, allocations: 0 / 385.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.182e-05/0.01988, allocations: 12.5 kB / 385.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of SimCode: time 1.263e-06/0.01988, allocations: 0 / 385.7 MB, free: 10.39 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.882275264710188]