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.001366/0.001366, allocations: 84.55 kB / 20.68 MB, free: 1.012 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.001422/0.001422, allocations: 167.6 kB / 23.96 MB, free: 4.125 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.472/1.472, allocations: 177.1 MB / 204.3 MB, free: 9.172 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.1777/0.1777, allocations: 29.42 MB / 290.1 MB, free: 3.266 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.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: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 430.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.825e-05/2.967e-05, allocations: 6.219 kB / 430.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.003573/0.003603, allocations: 2.234 MB / 433 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003533/0.007135, allocations: 1.914 MB / 434.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.164e-05/0.007197, allocations: 0 / 434.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.007369, allocations: 15.91 kB / 434.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.0075, allocations: 35.75 kB / 434.9 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0027/0.0102, allocations: 0.9545 MB / 435.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.01039, allocations: 95.55 kB / 436 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.985e-05/0.01044, allocations: 8 kB / 436 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.01063, allocations: 55.8 kB / 436 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.01076, allocations: 59.8 kB / 436.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.01078, allocations: 0 / 436.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003155/0.01393, allocations: 1.847 MB / 437.9 MB, free: 10.64 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.63e-05/0.014, allocations: 35.91 kB / 438 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.934e-05/0.01406, allocations: 27.92 kB / 438 MB, free: 10.58 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002023/0.01608, allocations: 1.477 MB / 439.5 MB, free: 9.102 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.01609, allocations: 0 / 439.5 MB, free: 9.102 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.01609, allocations: 0 / 439.5 MB, free: 9.102 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.758e-06/0.01609, allocations: 0 / 439.5 MB, free: 9.102 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007393/0.01683, allocations: 494.1 kB / 440 MB, free: 8.582 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.01687, allocations: 19.98 kB / 440 MB, free: 8.562 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.88e-05/0.01692, allocations: 12.84 kB / 440 MB, free: 8.551 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.01713, allocations: 137.6 kB / 440.1 MB, free: 8.391 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.01714, allocations: 4.312 kB / 440.1 MB, free: 8.387 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.01716, allocations: 4.375 kB / 440.1 MB, free: 8.383 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.01738, allocations: 131.4 kB / 440.3 MB, free: 8.242 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.01739, allocations: 0 / 440.3 MB, free: 8.242 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.0174, allocations: 0 / 440.3 MB, free: 8.242 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.0174, allocations: 0 / 440.3 MB, free: 8.242 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.01752, allocations: 81.67 kB / 440.3 MB, free: 8.156 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001441/0.01766, allocations: 121.3 kB / 440.5 MB, free: 8.008 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.01781, allocations: 104.2 kB / 440.6 MB, free: 7.891 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.01792, allocations: 86.56 kB / 440.7 MB, free: 7.797 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.01792, allocations: 4 kB / 440.7 MB, free: 7.793 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.01797, allocations: 34.5 kB / 440.7 MB, free: 7.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 3.537e-06/0.01797, allocations: 3.984 kB / 440.7 MB, free: 7.746 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004994/0.01847, allocations: 326.5 kB / 441 MB, free: 7.402 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.359e-05/0.01854, allocations: 89.09 kB / 441.1 MB, free: 7.297 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.01869, allocations: 153.4 kB / 441.2 MB, free: 7.141 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.01871, allocations: 25.7 kB / 441.3 MB, free: 7.109 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.323e-05/0.01878, allocations: 104.4 kB / 441.4 MB, free: 7.004 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.515e-05/0.01883, allocations: 47.58 kB / 441.4 MB, free: 6.957 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-05/0.01888, allocations: 25.7 kB / 441.4 MB, free: 6.926 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.01904, allocations: 322.8 kB / 441.8 MB, free: 6.602 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.01915, allocations: 85.66 kB / 441.8 MB, free: 6.512 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.37e-05/0.01925, allocations: 92.28 kB / 441.9 MB, free: 6.418 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.01948, allocations: 196.4 kB / 442.1 MB, free: 6.211 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.01948, allocations: 0 / 442.1 MB, free: 6.211 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002871/0.01977, allocations: 225 kB / 442.3 MB, free: 5.973 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.39e-05/0.01983, allocations: 57.56 kB / 442.4 MB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.01984, allocations: 0 / 442.4 MB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.01985, allocations: 4.062 kB / 442.4 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.01985, allocations: 0 / 442.4 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.01986, allocations: 3.984 kB / 442.4 MB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.721e-05/0.01992, allocations: 7.953 kB / 442.4 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.01995, allocations: 8 kB / 442.4 MB, free: 5.887 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.0001578/0.02011, allocations: 171.4 kB / 442.6 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.02014, allocations: 15.91 kB / 442.6 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.331e-05/0.02016, allocations: 16.7 kB / 442.6 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.02016, allocations: 0 / 442.6 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.02017, allocations: 0 / 442.6 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.02017, allocations: 4 kB / 442.6 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.0203, allocations: 125.3 kB / 442.8 MB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.0203, allocations: 3.938 kB / 442.8 MB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-07/0.0203, allocations: 0 / 442.8 MB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.0203, allocations: 7.938 kB / 442.8 MB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.02032, allocations: 4 kB / 442.8 MB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.02032, allocations: 3.938 kB / 442.8 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.02032, allocations: 0 / 442.8 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004383/0.02076, allocations: 343.4 kB / 443.1 MB, free: 5.133 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.02078, allocations: 15.84 kB / 443.1 MB, free: 5.117 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.0208, allocations: 0 / 443.1 MB, free: 5.117 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.316e-05/0.02085, allocations: 11.97 kB / 443.1 MB, free: 5.105 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.901e-05/0.02087, allocations: 8 kB / 443.1 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.02089, allocations: 7.984 kB / 443.1 MB, free: 5.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.586e-05/0.02098, allocations: 114.1 kB / 443.3 MB, free: 4.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02098, allocations: 0 / 443.3 MB, free: 4.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008196/0.0218, allocations: 327.4 kB / 443.6 MB, free: 4.66 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.001023/0.02282, allocations: 408.7 kB / 444 MB, free: 4.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004409/0.02326, allocations: 330.6 kB / 444.3 MB, free: 3.902 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.02326, allocations: 0 / 444.3 MB, free: 3.902 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002278/0.02349, allocations: 197 kB / 444.5 MB, free: 3.691 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.02371, allocations: 15.25 kB / 444.5 MB, free: 3.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005988/0.02431, allocations: 386.8 kB / 444.9 MB, free: 3.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.764e-05/0.02441, allocations: 100.4 kB / 445 MB, free: 3.152 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.681e-05/0.02443, allocations: 4 kB / 445 MB, free: 3.148 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.385e-05/0.02444, allocations: 8.5 kB / 445 MB, free: 3.141 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.02444, allocations: 0 / 445 MB, free: 3.141 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.68484765663743] Failed to read output from testmodel.py, exit status != 0: 0.21776794269680977 0.23032132100000002 0.211360968 Calling exit ...