Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.0009568/0.0009568, 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.0009347/0.0009347, allocations: 161 kB / 24.56 MB, free: 16 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.9115/0.9115, allocations: 177.1 MB / 205 MB, free: 4.715 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.216/0.216, allocations: 29.42 MB / 290.9 MB, free: 2.41 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_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.46e-05/1.6e-05, allocations: 2.312 kB / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.004503/0.004519, allocations: 2.274 MB / 371.9 MB, free: 8.707 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.006585, allocations: 1.964 MB / 373.9 MB, free: 6.734 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.79e-05/0.006633, allocations: 4 kB / 373.9 MB, free: 6.73 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.006747, allocations: 11.91 kB / 373.9 MB, free: 6.719 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.681e-05/0.006823, allocations: 31.72 kB / 373.9 MB, free: 6.688 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001545/0.008368, allocations: 0.9779 MB / 374.9 MB, free: 5.707 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.00847, allocations: 83.62 kB / 375 MB, free: 5.625 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.04e-05/0.0085, allocations: 4.188 kB / 375 MB, free: 5.621 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.008611, allocations: 39.89 kB / 375 MB, free: 5.582 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.361e-05/0.008674, allocations: 51.86 kB / 375.1 MB, free: 5.531 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.008685, allocations: 0 / 375.1 MB, free: 5.531 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00187/0.01056, allocations: 1.906 MB / 377 MB, free: 3.621 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.367e-05/0.01061, allocations: 47.8 kB / 377 MB, free: 3.574 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.819e-05/0.01065, allocations: 27.86 kB / 377.1 MB, free: 3.547 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.01197, allocations: 1.539 MB / 378.6 MB, free: 2.004 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.01197, allocations: 0 / 378.6 MB, free: 2.004 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01197, allocations: 0 / 378.6 MB, free: 2.004 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.01198, allocations: 0 / 378.6 MB, free: 2.004 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.0005564/0.01253, allocations: 0.6445 MB / 379.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.01257, allocations: 11.98 kB / 379.3 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.446e-05/0.01261, allocations: 20.8 kB / 379.3 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.01276, allocations: 156.2 kB / 379.4 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.01276, allocations: 384 / 379.4 MB, free: 1.105 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.01278, allocations: 15.94 kB / 379.4 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.01291, allocations: 117.3 kB / 379.6 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.01292, allocations: 0 / 379.6 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.01293, allocations: 0 / 379.6 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.01293, allocations: 0 / 379.6 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.54e-05/0.01299, allocations: 82 kB / 379.6 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001139/0.0131, allocations: 153.1 kB / 379.8 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.73e-05/0.01319, allocations: 117 kB / 379.9 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.254e-05/0.01325, allocations: 89.73 kB / 380 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.749e-06/0.01326, allocations: 3.938 kB / 380 MB, free: 468 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.01328, allocations: 37.39 kB / 380 MB, free: 420 kB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 7.62e-07/0.01328, allocations: 0 / 380 MB, free: 420 kB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.0003779/0.01365, allocations: 454.5 kB / 380.5 MB, free: 15.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.0137, allocations: 101 kB / 380.6 MB, free: 15.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.0138, allocations: 225.9 kB / 380.8 MB, free: 15.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.01381, allocations: 25.7 kB / 380.8 MB, free: 15.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/0.01386, allocations: 155.5 kB / 381 MB, free: 15.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.471e-05/0.01394, allocations: 138.8 kB / 381.1 MB, free: 15.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/0.01398, allocations: 51.3 kB / 381.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.0141, allocations: 0.5118 MB / 381.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.962e-05/0.01416, allocations: 85.67 kB / 381.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.136e-05/0.01421, allocations: 86.7 kB / 381.8 MB, free: 14.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.01435, allocations: 215.2 kB / 382 MB, free: 14.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.01435, allocations: 0 / 382 MB, free: 14.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002092/0.01456, allocations: 316.7 kB / 382.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.207e-05/0.01461, allocations: 81.62 kB / 382.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-06/0.01462, allocations: 0 / 382.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.01463, allocations: 0 / 382.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.238e-06/0.01463, allocations: 4 kB / 382.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.01464, allocations: 0 / 382.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.718e-05/0.01468, allocations: 23.78 kB / 382.5 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.0147, allocations: 8 kB / 382.5 MB, free: 13.82 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.0001164/0.01482, allocations: 246.3 kB / 382.7 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.01485, allocations: 39.8 kB / 382.8 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.621e-05/0.01486, allocations: 18.64 kB / 382.8 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.01486, allocations: 0 / 382.8 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.01487, allocations: 0 / 382.8 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.01487, allocations: 0 / 382.8 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.823e-05/0.01496, allocations: 164.4 kB / 382.9 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.01496, allocations: 0 / 382.9 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.01496, allocations: 0 / 382.9 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.01496, allocations: 3.938 kB / 382.9 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.01497, allocations: 12 kB / 382.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.01498, allocations: 0 / 382.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01498, allocations: 0 / 382.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003456/0.01532, allocations: 483.5 kB / 383.4 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.937e-05/0.01534, allocations: 27.73 kB / 383.4 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.01537, allocations: 11.92 kB / 383.5 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.168e-05/0.01541, allocations: 8 kB / 383.5 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.01544, allocations: 4 kB / 383.5 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.01546, allocations: 12 kB / 383.5 MB, free: 12.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.458e-05/0.01554, allocations: 160.2 kB / 383.6 MB, free: 12.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01554, allocations: 0 / 383.6 MB, free: 12.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005134/0.01606, allocations: 363.4 kB / 384 MB, free: 12.21 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.0006231/0.01668, allocations: 413.6 kB / 384.4 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003155/0.017, 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.623e-06/0.017, allocations: 0 / 384.8 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001586/0.01716, allocations: 260.6 kB / 385 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.01732, allocations: 31.12 kB / 385.1 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007484/0.01806, allocations: 0.5432 MB / 385.6 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.116e-05/0.01813, allocations: 91.81 kB / 385.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.258e-05/0.01814, allocations: 0 / 385.7 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.577e-05/0.01815, allocations: 12.5 kB / 385.7 MB, free: 10.39 MB / 362.7 MB Notification: Performance of SimCode: time 8.71e-07/0.01815, allocations: 0 / 385.7 MB, free: 10.39 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.8028047471307218]