Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.001799/0.001799, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.002031/0.002031, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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.476/1.476, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 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.1769/0.1769, allocations: 29.44 MB / 290.1 MB, free: 3.289 MB / 270.1 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.TransDatFromEqCirc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.704e-05, allocations: 2.281 kB / 430.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.003274/0.003301, allocations: 2.234 MB / 433 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.005035, allocations: 1.037 MB / 434 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.287e-05/0.005078, allocations: 0 / 434 MB, free: 14.64 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.005207, allocations: 11.91 kB / 434 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001191/0.005326, allocations: 59.66 kB / 434.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009939/0.00632, allocations: 334.9 kB / 434.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.006494, allocations: 119.5 kB / 434.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.68e-05/0.006531, allocations: 8 kB / 434.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.00669, allocations: 63.73 kB / 434.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.006816, allocations: 71.83 kB / 434.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.006828, allocations: 0 / 434.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008939/0.007722, allocations: 0.5649 MB / 435.2 MB, free: 13.42 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.99e-05/0.007782, allocations: 39.91 kB / 435.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.248e-05/0.007835, allocations: 31.91 kB / 435.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000716/0.00855, allocations: 0.5572 MB / 435.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.008553, allocations: 0 / 435.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.008553, allocations: 0 / 435.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.008558, allocations: 0 / 435.8 MB, free: 12.79 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005227/0.00908, allocations: 394.5 kB / 436.2 MB, free: 12.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.009116, allocations: 12.03 kB / 436.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.506e-05/0.009161, allocations: 12.89 kB / 436.3 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.009353, allocations: 141.5 kB / 436.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.009363, allocations: 384 / 436.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.009376, allocations: 8.312 kB / 436.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000224/0.0096, allocations: 151.9 kB / 436.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.00961, allocations: 3.938 kB / 436.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.00962, allocations: 0 / 436.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.009624, allocations: 0 / 436.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.009767, allocations: 117.6 kB / 436.7 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000144/0.009911, allocations: 117.3 kB / 436.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.01007, allocations: 124.2 kB / 436.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.01021, allocations: 118.5 kB / 437 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.425e-06/0.01022, allocations: 0 / 437 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.014e-05/0.01029, allocations: 30.56 kB / 437.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 2.905e-06/0.01029, allocations: 8 kB / 437.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.000542/0.01083, allocations: 418.8 kB / 437.5 MB, free: 11.01 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.674e-05/0.01091, allocations: 93.09 kB / 437.6 MB, free: 10.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.01102, allocations: 132.5 kB / 437.7 MB, free: 10.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.01105, allocations: 33.69 kB / 437.7 MB, free: 10.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/0.0111, allocations: 92.47 kB / 437.8 MB, free: 10.63 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.059e-05/0.01117, allocations: 71.38 kB / 437.9 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-05/0.01122, allocations: 25.7 kB / 437.9 MB, free: 10.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.01137, allocations: 322.8 kB / 438.2 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.0115, allocations: 109.7 kB / 438.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.01163, allocations: 113.6 kB / 438.4 MB, free: 9.973 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002808/0.01191, allocations: 259.5 kB / 438.7 MB, free: 9.707 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.01191, allocations: 0 / 438.7 MB, free: 9.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003385/0.01225, allocations: 288.8 kB / 439 MB, free: 9.406 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.705e-05/0.01232, allocations: 61.66 kB / 439 MB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.01232, allocations: 7.875 kB / 439 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.01233, allocations: 0 / 439 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.01234, allocations: 0 / 439 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.01234, allocations: 3.984 kB / 439 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.688e-05/0.0124, allocations: 11.94 kB / 439.1 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.01242, allocations: 4 kB / 439.1 MB, free: 9.312 MB / 366.1 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.0001708/0.01259, allocations: 183.5 kB / 439.2 MB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.01263, allocations: 19.91 kB / 439.3 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.102e-05/0.01265, allocations: 17.05 kB / 439.3 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.01265, allocations: 0 / 439.3 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.01266, allocations: 0 / 439.3 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.01266, allocations: 4 kB / 439.3 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.01277, allocations: 125.2 kB / 439.4 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.01277, allocations: 0 / 439.4 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.01e-07/0.01277, allocations: 0 / 439.4 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.01278, allocations: 0 / 439.4 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.01279, allocations: 15.94 kB / 439.4 MB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.0128, allocations: 7.938 kB / 439.4 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.0128, allocations: 0 / 439.4 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005463/0.01334, allocations: 448.2 kB / 439.9 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.342e-05/0.01337, allocations: 15.84 kB / 439.9 MB, free: 8.414 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.599e-05/0.01339, allocations: 7.984 kB / 439.9 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.322e-05/0.01343, allocations: 7.938 kB / 439.9 MB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.648e-05/0.01346, allocations: 8 kB / 439.9 MB, free: 8.391 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.01347, allocations: 4 kB / 439.9 MB, free: 8.387 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.05e-05/0.01355, allocations: 103.2 kB / 440 MB, free: 8.285 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01355, allocations: 0 / 440 MB, free: 8.285 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004234/0.01397, allocations: 131.8 kB / 440.1 MB, free: 8.156 MB / 366.1 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.0004859/0.01445, allocations: 205.4 kB / 440.3 MB, free: 7.945 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005367/0.01499, allocations: 430.6 kB / 440.8 MB, free: 7.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01499, allocations: 0 / 440.8 MB, free: 7.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002754/0.01527, allocations: 256.9 kB / 441 MB, free: 7.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.01549, allocations: 27.08 kB / 441 MB, free: 7.207 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006686/0.01616, allocations: 443.5 kB / 441.5 MB, free: 6.742 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.01627, allocations: 100.3 kB / 441.6 MB, free: 6.625 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.706e-05/0.01628, allocations: 3.984 kB / 441.6 MB, free: 6.621 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.743e-05/0.0163, allocations: 8.5 kB / 441.6 MB, free: 6.613 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.0163, allocations: 4 kB / 441.6 MB, free: 6.609 MB / 366.1 MB [CodegenCFunctions.tpl:5727:13-5727: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.691103357821703] Failed to read output from testmodel.py, exit status != 0: 0.03241381421685219 0.23029999099999995 0.21890480699999995 Calling exit ...