Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.001944/0.001944, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002765/0.002765, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.589/1.589, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.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.1996/0.1996, allocations: 38.56 MB / 352.5 MB, free: 12.29 MB / 286.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.EqCircFromTransDat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") translateModel(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 67.89 kB / 493 MB, free: 4.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3579, allocations: 62.47 MB / 0.5424 GB, free: 412 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.005005/0.3629, allocations: 2.231 MB / 0.5446 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005009/0.3679, allocations: 1.902 MB / 0.5465 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.446e-05/0.368, allocations: 3.938 kB / 0.5465 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.3681, allocations: 14.66 kB / 0.5465 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001637/0.3683, allocations: 37.23 kB / 0.5465 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00421/0.3725, allocations: 0.945 MB / 0.5475 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002454/0.3728, allocations: 97.98 kB / 0.5475 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.269e-05/0.3728, allocations: 5.922 kB / 0.5475 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.373, allocations: 51.17 kB / 0.5476 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.3732, allocations: 62.17 kB / 0.5477 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.3732, allocations: 6.688 kB / 0.5477 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005476/0.3787, allocations: 1.843 MB / 0.5495 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.3788, allocations: 35.47 kB / 0.5495 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.046e-05/0.3789, allocations: 30.19 kB / 0.5495 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004335/0.3832, allocations: 1.322 MB / 0.5508 GB, free: 10.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.3832, allocations: 7.938 kB / 0.5508 GB, free: 10.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3832, allocations: 1.312 kB / 0.5508 GB, free: 10.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.3832, allocations: 0 / 0.5508 GB, free: 10.45 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001542/0.3848, allocations: 483.7 kB / 0.5513 GB, free: 10.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.188e-05/0.3848, allocations: 18.3 kB / 0.5513 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.565e-05/0.3849, allocations: 13.22 kB / 0.5513 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.3852, allocations: 137.3 kB / 0.5514 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.3853, allocations: 9.375 kB / 0.5515 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.099e-05/0.3853, allocations: 5.031 kB / 0.5515 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/0.3856, allocations: 118.8 kB / 0.5516 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3856, allocations: 0 / 0.5516 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.3856, allocations: 4.859 kB / 0.5516 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3856, allocations: 3.938 kB / 0.5516 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001639/0.3858, allocations: 85.61 kB / 0.5517 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002455/0.386, allocations: 120.4 kB / 0.5518 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.3862, allocations: 108.7 kB / 0.5519 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001721/0.3864, allocations: 97.98 kB / 0.552 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.3864, allocations: 3.938 kB / 0.552 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.3865, allocations: 32.72 kB / 0.552 GB, free: 9.367 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.694e-06/0.3865, allocations: 0 / 0.552 GB, free: 9.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007059/0.3872, allocations: 341.6 kB / 0.5523 GB, free: 9.156 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.042e-05/0.3872, allocations: 89.81 kB / 0.5524 GB, free: 9.059 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.3875, allocations: 147 kB / 0.5526 GB, free: 8.938 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.3875, allocations: 27.11 kB / 0.5526 GB, free: 8.906 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.575e-05/0.3876, allocations: 104.4 kB / 0.5527 GB, free: 8.805 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.285e-05/0.3877, allocations: 56.72 kB / 0.5527 GB, free: 8.754 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.158e-05/0.3877, allocations: 22.64 kB / 0.5528 GB, free: 8.734 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.3879, allocations: 327 kB / 0.5531 GB, free: 8.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.3881, allocations: 84.53 kB / 0.5532 GB, free: 8.359 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.3882, allocations: 90.25 kB / 0.5532 GB, free: 8.305 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003376/0.3885, allocations: 201.5 kB / 0.5534 GB, free: 8.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3885, allocations: 0 / 0.5534 GB, free: 8.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004115/0.389, allocations: 232.7 kB / 0.5537 GB, free: 8.031 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.472e-05/0.389, allocations: 48.53 kB / 0.5537 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3891, allocations: 0 / 0.5537 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.3891, allocations: 1.094 kB / 0.5537 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.178e-06/0.3891, allocations: 8.047 kB / 0.5537 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.3891, allocations: 1.156 kB / 0.5537 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.3892, allocations: 7.547 kB / 0.5537 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.03e-05/0.3892, allocations: 4.688 kB / 0.5537 GB, free: 7.98 MB / 398.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.0002071/0.3894, allocations: 164.8 kB / 0.5539 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.3895, allocations: 19.84 kB / 0.5539 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.505e-05/0.3896, allocations: 15.77 kB / 0.5539 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3896, allocations: 1.125 kB / 0.5539 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3896, allocations: 0 / 0.5539 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3896, allocations: 1.156 kB / 0.5539 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001784/0.3897, allocations: 126.8 kB / 0.554 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3897, allocations: 0 / 0.554 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-06/0.3897, allocations: 5.188 kB / 0.554 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.3898, allocations: 0 / 0.554 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.3898, allocations: 8.5 kB / 0.5541 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.3898, allocations: 3.938 kB / 0.5541 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3898, allocations: 0 / 0.5541 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000658/0.3904, allocations: 342.2 kB / 0.5544 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.424e-05/0.3905, allocations: 11.36 kB / 0.5544 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.3905, allocations: 6.781 kB / 0.5544 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.745e-05/0.3906, allocations: 2.75 kB / 0.5544 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.3906, allocations: 10.36 kB / 0.5544 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.3906, allocations: 5.656 kB / 0.5544 GB, free: 7.406 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001443/0.3908, allocations: 118.4 kB / 0.5545 GB, free: 7.312 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3908, allocations: 3.938 kB / 0.5545 GB, free: 7.309 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001655/0.3924, allocations: 329.5 kB / 0.5548 GB, free: 7.148 MB / 398.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.001852/0.3943, allocations: 370 kB / 0.5552 GB, free: 6.781 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006588/0.3949, allocations: 330.6 kB / 0.5555 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.3949, allocations: 4 kB / 0.5555 GB, free: 6.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003248/0.3953, allocations: 193 kB / 0.5557 GB, free: 6.223 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/0.3957, allocations: 22.05 kB / 0.5557 GB, free: 6.203 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009009/0.3966, allocations: 407.4 kB / 0.5561 GB, free: 5.773 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.3967, allocations: 104.2 kB / 0.5562 GB, free: 5.652 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.555e-05/0.3968, allocations: 11.89 kB / 0.5562 GB, free: 5.641 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.995e-05/0.3968, allocations: 11.38 kB / 0.5562 GB, free: 5.629 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3968, allocations: 0 / 0.5562 GB, free: 5.629 MB / 398.1 MB [CodegenCFunctions.tpl:5658:13-5658: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: 3.2366526648402214] Failed to read output from testmodel.py, exit status != 0: 0.4269452169537544 0.44206944400000003 0.055531578000000005 Calling exit ...