Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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.001336/0.001336, allocations: 109.5 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.001496/0.001496, allocations: 184.3 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.517/1.517, 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.1869/0.1869, allocations: 38.53 MB / 346.3 MB, free: 2.07 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.Z_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 75.88 kB / 484.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.39, allocations: 61.3 MB / 0.533 GB, free: 5.562 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.003811/0.3938, allocations: 2.184 MB / 0.5352 GB, free: 4.008 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002884/0.3967, allocations: 2.073 MB / 0.5372 GB, free: 2.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.471e-05/0.3968, allocations: 0 / 0.5372 GB, free: 2.543 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002068/0.397, allocations: 15.7 kB / 0.5372 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.3971, allocations: 29.19 kB / 0.5373 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002625/0.3997, allocations: 0.9869 MB / 0.5382 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.3999, allocations: 75.84 kB / 0.5383 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.802e-05/0.3999, allocations: 7.141 kB / 0.5383 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.162e-05/0.4, allocations: 36.78 kB / 0.5383 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.686e-05/0.4001, allocations: 41.58 kB / 0.5384 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.4001, allocations: 9.312 kB / 0.5384 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002797/0.4029, allocations: 2.22 MB / 0.5405 GB, free: 248 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.3e-05/0.4029, allocations: 14.3 kB / 0.5406 GB, free: 240 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.913e-05/0.403, allocations: 25.92 kB / 0.5406 GB, free: 220 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001924/0.4049, allocations: 1.35 MB / 0.5419 GB, free: 15.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4049, allocations: 1.5 kB / 0.5419 GB, free: 15.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4049, allocations: 0 / 0.5419 GB, free: 15.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.4049, allocations: 7.938 kB / 0.5419 GB, free: 15.39 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000676/0.4056, allocations: 435.7 kB / 0.5423 GB, free: 14.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.4056, allocations: 8.875 kB / 0.5423 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.396e-05/0.4057, allocations: 8.359 kB / 0.5423 GB, free: 14.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.4059, allocations: 133.8 kB / 0.5425 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.4059, allocations: 0 / 0.5425 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.4059, allocations: 1.062 kB / 0.5425 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.406, allocations: 60.92 kB / 0.5425 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.406, allocations: 3.984 kB / 0.5425 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.4061, allocations: 4.969 kB / 0.5425 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.4061, allocations: 0 / 0.5425 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.773e-05/0.4061, allocations: 24.95 kB / 0.5426 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001558/0.4063, allocations: 140.9 kB / 0.5427 GB, free: 14.61 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.359e-05/0.4063, allocations: 34.78 kB / 0.5427 GB, free: 14.58 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.77e-05/0.4064, allocations: 32.66 kB / 0.5428 GB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.845e-06/0.4064, allocations: 0 / 0.5428 GB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.4064, allocations: 35.62 kB / 0.5428 GB, free: 14.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 7.82e-07/0.4064, allocations: 0 / 0.5428 GB, free: 14.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002896/0.4067, allocations: 153.8 kB / 0.5429 GB, free: 14.42 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.665e-05/0.4068, allocations: 82.89 kB / 0.543 GB, free: 14.33 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.4069, allocations: 127.3 kB / 0.5431 GB, free: 14.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.4069, allocations: 26.89 kB / 0.5432 GB, free: 14.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.32e-05/0.407, allocations: 85.61 kB / 0.5432 GB, free: 14.1 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.572e-05/0.407, allocations: 31.92 kB / 0.5433 GB, free: 14.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.4071, allocations: 20.41 kB / 0.5433 GB, free: 14.05 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.4072, allocations: 325.3 kB / 0.5436 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.569e-05/0.4073, allocations: 27.11 kB / 0.5436 GB, free: 13.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.715e-05/0.4073, allocations: 20.45 kB / 0.5437 GB, free: 13.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.4075, allocations: 126.9 kB / 0.5438 GB, free: 13.62 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4075, allocations: 0 / 0.5438 GB, free: 13.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001706/0.4077, allocations: 124.1 kB / 0.5439 GB, free: 13.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.742e-05/0.4077, allocations: 45 kB / 0.5439 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.4077, allocations: 0 / 0.5439 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.4077, allocations: 5.469 kB / 0.5439 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.4077, allocations: 0 / 0.5439 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.4077, allocations: 0 / 0.5439 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.243e-05/0.4078, allocations: 6.469 kB / 0.5439 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.4078, allocations: 2.594 kB / 0.544 GB, free: 13.49 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.0001425/0.4079, allocations: 167.1 kB / 0.5441 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.408, allocations: 8.078 kB / 0.5441 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.892e-05/0.408, allocations: 9.812 kB / 0.5441 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.408, allocations: 1.25 kB / 0.5441 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.408, allocations: 4 kB / 0.5441 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.408, allocations: 3.938 kB / 0.5441 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.4081, allocations: 147.7 kB / 0.5443 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4081, allocations: 4 kB / 0.5443 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.61e-07/0.4081, allocations: 0 / 0.5443 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.4081, allocations: 1.562 kB / 0.5443 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.4081, allocations: 1.531 kB / 0.5443 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.4081, allocations: 1.5 kB / 0.5443 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4081, allocations: 0 / 0.5443 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.4084, allocations: 222.6 kB / 0.5445 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/0.4084, allocations: 10.28 kB / 0.5445 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.4085, allocations: 2.938 kB / 0.5445 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.329e-05/0.4085, allocations: 1.125 kB / 0.5445 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.059e-05/0.4085, allocations: 2.156 kB / 0.5445 GB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.4085, allocations: 3.281 kB / 0.5445 GB, free: 12.97 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.867e-05/0.4086, allocations: 102.1 kB / 0.5446 GB, free: 12.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4086, allocations: 0 / 0.5446 GB, free: 12.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00103/0.4096, allocations: 327.6 kB / 0.5449 GB, free: 12.82 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.0009379/0.4106, allocations: 373.5 kB / 0.5453 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002669/0.4108, allocations: 177.5 kB / 0.5455 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4108, allocations: 0 / 0.5455 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.411, allocations: 120.4 kB / 0.5456 GB, free: 12.44 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.4112, allocations: 13.53 kB / 0.5456 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004535/0.4117, allocations: 243.3 kB / 0.5458 GB, free: 12.26 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.412, allocations: 0.6939 MB / 0.5465 GB, free: 11.55 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.156e-05/0.4121, allocations: 0 / 0.5465 GB, free: 11.55 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.39e-05/0.4121, allocations: 9.5 kB / 0.5465 GB, free: 11.55 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4121, allocations: 0 / 0.5465 GB, free: 11.55 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.078277145512402] Failed to read output from testmodel.py, exit status != 0: 0.4327939124777913 0.4469457 0.038946353 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f3a75af57b0>