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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 112 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 180.8 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 225.6 MB / 252.5 MB, free: 13.01 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.1954/0.1954, allocations: 38.53 MB / 346.3 MB, free: 2.074 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002134/0.002134, allocations: 67.89 kB / 484.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3771, allocations: 61.3 MB / 0.533 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.003612/0.3807, allocations: 2.251 MB / 0.5352 GB, free: 3.957 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.3823, allocations: 1.079 MB / 0.5363 GB, free: 3.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.99e-05/0.3823, allocations: 5.719 kB / 0.5363 GB, free: 3.234 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.3825, allocations: 16.64 kB / 0.5363 GB, free: 3.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.3826, allocations: 57.72 kB / 0.5364 GB, free: 3.195 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009334/0.3835, allocations: 333.8 kB / 0.5367 GB, free: 2.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.3837, allocations: 124 kB / 0.5368 GB, free: 2.918 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.427e-05/0.3837, allocations: 1.375 kB / 0.5368 GB, free: 2.918 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.3838, allocations: 53.94 kB / 0.5369 GB, free: 2.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.3839, allocations: 80.7 kB / 0.5369 GB, free: 2.844 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.384, allocations: 2.75 kB / 0.5369 GB, free: 2.844 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007793/0.3847, allocations: 0.6384 MB / 0.5376 GB, free: 2.395 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.388e-05/0.3848, allocations: 42.64 kB / 0.5376 GB, free: 2.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.248e-05/0.3848, allocations: 38.78 kB / 0.5376 GB, free: 2.348 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005694/0.3854, allocations: 0.5284 MB / 0.5382 GB, free: 2.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3854, allocations: 1.406 kB / 0.5382 GB, free: 2.047 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3854, allocations: 0 / 0.5382 GB, free: 2.047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.3854, allocations: 4 kB / 0.5382 GB, free: 2.043 MB / 382.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.0004011/0.3858, allocations: 387.9 kB / 0.5385 GB, free: 1.676 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.3859, allocations: 14.2 kB / 0.5385 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.3859, allocations: 13.25 kB / 0.5386 GB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.386, allocations: 140.8 kB / 0.5387 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.892e-06/0.386, allocations: 2.219 kB / 0.5387 GB, free: 1.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.3861, allocations: 5.531 kB / 0.5387 GB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.3862, allocations: 91.16 kB / 0.5388 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3862, allocations: 0 / 0.5388 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.3862, allocations: 5.5 kB / 0.5388 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.3862, allocations: 0 / 0.5388 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.361e-05/0.3863, allocations: 65.55 kB / 0.5389 GB, free: 1.422 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001102/0.3864, allocations: 150.4 kB / 0.539 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.92e-05/0.3865, allocations: 71.84 kB / 0.5391 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.211e-05/0.3866, allocations: 70.06 kB / 0.5391 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.377e-06/0.3866, allocations: 0 / 0.5391 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.37e-05/0.3866, allocations: 35.94 kB / 0.5392 GB, free: 1.125 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 7.92e-07/0.3866, allocations: 0 / 0.5392 GB, free: 1.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004327/0.3871, allocations: 307.8 kB / 0.5395 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.3871, allocations: 87.83 kB / 0.5395 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.3872, allocations: 136.6 kB / 0.5397 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.3872, allocations: 27.45 kB / 0.5397 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.978e-05/0.3872, allocations: 90.84 kB / 0.5398 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.712e-05/0.3873, allocations: 67.2 kB / 0.5399 GB, free: 0.582 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/0.3873, allocations: 28.34 kB / 0.5399 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.548e-05/0.3874, allocations: 322.4 kB / 0.5402 GB, free: 244 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.912e-05/0.3875, allocations: 56.78 kB / 0.5402 GB, free: 224 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.041e-05/0.3876, allocations: 65.33 kB / 0.5403 GB, free: 196 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/0.3878, allocations: 234.4 kB / 0.5405 GB, free: 60 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3878, allocations: 0 / 0.5405 GB, free: 60 kB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002728/0.3881, allocations: 221 kB / 0.5407 GB, free: 15.94 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.473e-05/0.3881, allocations: 56.7 kB / 0.5408 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3881, allocations: 0 / 0.5408 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.3881, allocations: 4.062 kB / 0.5408 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.3882, allocations: 1.031 kB / 0.5408 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.3882, allocations: 3.984 kB / 0.5408 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.097e-05/0.3882, allocations: 13.05 kB / 0.5408 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.3882, allocations: 6.125 kB / 0.5408 GB, free: 15.88 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.0001717/0.3884, allocations: 179.7 kB / 0.541 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.3884, allocations: 17.08 kB / 0.541 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.689e-05/0.3885, allocations: 7.438 kB / 0.541 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3885, allocations: 0 / 0.541 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3885, allocations: 5.25 kB / 0.541 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3885, allocations: 3.984 kB / 0.541 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.3886, allocations: 166.8 kB / 0.5412 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3886, allocations: 4 kB / 0.5412 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.423e-06/0.3886, allocations: 1.281 kB / 0.5412 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.3886, allocations: 0 / 0.5412 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.3887, allocations: 8.484 kB / 0.5412 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3887, allocations: 0 / 0.5412 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3887, allocations: 5.906 kB / 0.5412 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004626/0.3891, allocations: 390.1 kB / 0.5416 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.035e-05/0.3891, allocations: 14.56 kB / 0.5416 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.3892, allocations: 4.5 kB / 0.5416 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.91e-05/0.3892, allocations: 4.406 kB / 0.5416 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.3892, allocations: 5.547 kB / 0.5416 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.3892, allocations: 5.875 kB / 0.5416 GB, free: 15.26 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.889e-05/0.3893, allocations: 102.2 kB / 0.5417 GB, free: 15.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3893, allocations: 1.094 kB / 0.5417 GB, free: 15.18 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004507/0.3898, allocations: 130.9 kB / 0.5418 GB, free: 15.16 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.0004907/0.3903, allocations: 189.7 kB / 0.542 GB, free: 15.03 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004417/0.3907, allocations: 321.8 kB / 0.5423 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3907, allocations: 0 / 0.5423 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002357/0.3909, allocations: 207.8 kB / 0.5425 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.3912, allocations: 28.53 kB / 0.5425 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007116/0.3919, allocations: 401.9 kB / 0.5429 GB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.3922, allocations: 0.7135 MB / 0.5436 GB, free: 13.76 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.604e-05/0.3922, allocations: 5.156 kB / 0.5436 GB, free: 13.76 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.496e-05/0.3923, allocations: 8.938 kB / 0.5436 GB, free: 13.75 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3923, allocations: 1.062 kB / 0.5436 GB, free: 13.75 MB / 398.1 MB [CodegenCFunctions.tpl:5647:13-5647: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.119535186327994] Failed to read output from testmodel.py, exit status != 0: 0.4086887640878558 0.42305739299999995 0.034550931 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f5d290717b0>