Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001684/0.001684, allocations: 115.6 kB / 20.43 MB, free: 1.309 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.002268/0.002268, allocations: 215 kB / 23.74 MB, free: 4.535 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.587/1.587, allocations: 230.6 MB / 257.5 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1977/0.1977, allocations: 38.52 MB / 352.5 MB, free: 12.53 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_TransDatFromEqCirc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_TransDatFromEqCirc",fmuType="me",version="2.0",platforms={"static"}) [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.0021/0.0021, allocations: 67.89 kB / 492.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3981, allocations: 62.48 MB / 0.542 GB, free: 412 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.00388/0.402, allocations: 2.267 MB / 0.5442 GB, free: 14.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.4039, allocations: 1.11 MB / 0.5453 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.173e-05/0.4039, allocations: 0 / 0.5453 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000147/0.4041, allocations: 18.28 kB / 0.5453 GB, free: 13.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.4042, allocations: 49.05 kB / 0.5454 GB, free: 13.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.4053, allocations: 346.9 kB / 0.5457 GB, free: 13.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.4055, allocations: 119.6 kB / 0.5458 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.869e-05/0.4056, allocations: 2.531 kB / 0.5458 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.4057, allocations: 56.19 kB / 0.5459 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.4059, allocations: 73.06 kB / 0.546 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.4059, allocations: 2.188 kB / 0.546 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.4069, allocations: 0.6531 MB / 0.5466 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.028e-05/0.407, allocations: 41.27 kB / 0.5466 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.641e-05/0.407, allocations: 42.44 kB / 0.5467 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007574/0.4078, allocations: 0.5354 MB / 0.5472 GB, free: 12.53 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.4078, allocations: 0 / 0.5472 GB, free: 12.53 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4078, allocations: 1.188 kB / 0.5472 GB, free: 12.53 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.4078, allocations: 0 / 0.5472 GB, free: 12.53 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006057/0.4084, allocations: 406.3 kB / 0.5476 GB, free: 12.15 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.4085, allocations: 13.3 kB / 0.5476 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.192e-05/0.4086, allocations: 66.59 kB / 0.5477 GB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.4086, allocations: 19.56 kB / 0.5477 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.4088, allocations: 145.3 kB / 0.5478 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.4089, allocations: 3.875 kB / 0.5478 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.4089, allocations: 12.56 kB / 0.5478 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.4091, allocations: 135.3 kB / 0.548 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.4092, allocations: 3.938 kB / 0.548 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.754e-05/0.4092, allocations: 5.031 kB / 0.548 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.4092, allocations: 2.312 kB / 0.548 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.4093, allocations: 84.97 kB / 0.5481 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005132/0.4098, allocations: 321.6 kB / 0.5484 GB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.41, allocations: 72.39 kB / 0.5484 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.848e-05/0.4101, allocations: 64.88 kB / 0.5485 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.4101, allocations: 4.906 kB / 0.5485 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.4101, allocations: 35.59 kB / 0.5485 GB, free: 11.37 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.123e-06/0.4101, allocations: 0 / 0.5485 GB, free: 11.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005892/0.4107, allocations: 285.6 kB / 0.5488 GB, free: 11.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.153e-05/0.4108, allocations: 100.7 kB / 0.5489 GB, free: 11.13 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.411, allocations: 129 kB / 0.549 GB, free: 11.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.411, allocations: 27.05 kB / 0.549 GB, free: 10.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.893e-05/0.4111, allocations: 113.5 kB / 0.5492 GB, free: 10.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.496e-05/0.4111, allocations: 67.52 kB / 0.5492 GB, free: 10.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.015e-05/0.4112, allocations: 24.25 kB / 0.5492 GB, free: 10.8 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.4114, allocations: 323.2 kB / 0.5496 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.602e-05/0.4115, allocations: 56.09 kB / 0.5496 GB, free: 10.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.656e-05/0.4115, allocations: 68.77 kB / 0.5497 GB, free: 10.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/0.4118, allocations: 231.4 kB / 0.5499 GB, free: 10.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.4118, allocations: 0.9062 kB / 0.5499 GB, free: 10.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002965/0.4121, allocations: 220.8 kB / 0.5501 GB, free: 10.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.965e-05/0.4122, allocations: 56.23 kB / 0.5502 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.4122, allocations: 0 / 0.5502 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.4122, allocations: 1 kB / 0.5502 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.196e-06/0.4122, allocations: 3.984 kB / 0.5502 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.4122, allocations: 0 / 0.5502 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.304e-05/0.4123, allocations: 13.89 kB / 0.5502 GB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.4123, allocations: 9.344 kB / 0.5502 GB, free: 10.12 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.0001652/0.4125, allocations: 179.3 kB / 0.5504 GB, free: 9.957 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.4125, allocations: 24.47 kB / 0.5504 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2e-05/0.4125, allocations: 12.03 kB / 0.5504 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.4125, allocations: 0 / 0.5504 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4126, allocations: 0 / 0.5504 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4126, allocations: 1.531 kB / 0.5504 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.4128, allocations: 186.9 kB / 0.5506 GB, free: 9.734 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.4128, allocations: 0 / 0.5506 GB, free: 9.734 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.277e-06/0.4128, allocations: 7.938 kB / 0.5506 GB, free: 9.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4128, allocations: 1.656 kB / 0.5506 GB, free: 9.727 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.4128, allocations: 3.906 kB / 0.5506 GB, free: 9.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.4128, allocations: 0 / 0.5506 GB, free: 9.727 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4128, allocations: 4.906 kB / 0.5506 GB, free: 9.723 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005393/0.4134, allocations: 452 kB / 0.551 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.503e-05/0.4134, allocations: 20.09 kB / 0.551 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/0.4134, allocations: 8.766 kB / 0.551 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.904e-05/0.4135, allocations: 10.69 kB / 0.5511 GB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.4135, allocations: 11.2 kB / 0.5511 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.524e-05/0.4135, allocations: 5.562 kB / 0.5511 GB, free: 9.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.026e-05/0.4136, allocations: 101.6 kB / 0.5512 GB, free: 9.328 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4136, allocations: 3.938 kB / 0.5512 GB, free: 9.324 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006511/0.4143, allocations: 147.2 kB / 0.5513 GB, free: 9.297 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.001605/0.4159, allocations: 1.229 MB / 0.5525 GB, free: 8.379 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005373/0.4164, allocations: 320.6 kB / 0.5528 GB, free: 8.215 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4164, allocations: 0 / 0.5528 GB, free: 8.215 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000264/0.4167, allocations: 212.8 kB / 0.553 GB, free: 8.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.417, allocations: 15.08 kB / 0.553 GB, free: 8.086 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0031/0.4201, allocations: 2.458 MB / 0.5554 GB, free: 6.293 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.4205, allocations: 0.7236 MB / 0.5561 GB, free: 5.543 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.209e-05/0.4205, allocations: 4 kB / 0.5561 GB, free: 5.539 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.942e-05/0.4205, allocations: 31.42 kB / 0.5562 GB, free: 5.508 MB / 398.1 MB Notification: Performance of SimCode: time 3.7e-07/0.4205, allocations: 0 / 0.5562 GB, free: 5.508 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.286140981996141] Failed to read output from testmodel.py, exit status != 0: 0.4504510230035521 0.465957512 0.054941819 Calling exit ...