Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.001956/0.001956, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002445/0.002445, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.528/1.528, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.1855/0.1855, allocations: 38.56 MB / 353.3 MB, free: 12.31 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.Z_matrixTrDat2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="cs",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.002009/0.002009, allocations: 62.19 kB / 493.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3806/0.3826, allocations: 62.48 MB / 0.5427 GB, free: 264 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003843/0.3864, allocations: 2.191 MB / 0.5449 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003121/0.3895, allocations: 1.889 MB / 0.5467 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.905e-05/0.3896, allocations: 0 / 0.5467 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.3897, allocations: 10.05 kB / 0.5467 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.287e-05/0.3898, allocations: 38.62 kB / 0.5468 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00288/0.3927, allocations: 0.9839 MB / 0.5477 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.3929, allocations: 75.28 kB / 0.5478 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.787e-05/0.3929, allocations: 10.89 kB / 0.5478 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.3931, allocations: 42.56 kB / 0.5478 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.3932, allocations: 48.34 kB / 0.5479 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.3932, allocations: 6.406 kB / 0.5479 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003912/0.3971, allocations: 2.05 MB / 0.5499 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.281e-05/0.3972, allocations: 28.69 kB / 0.5499 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.045e-05/0.3973, allocations: 30.34 kB / 0.5499 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002237/0.3995, allocations: 1.365 MB / 0.5513 GB, free: 10.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3995, allocations: 0 / 0.5513 GB, free: 10.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.3995, allocations: 0 / 0.5513 GB, free: 10.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.3995, allocations: 0 / 0.5513 GB, free: 10.11 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001267/0.4008, allocations: 0.4947 MB / 0.5518 GB, free: 9.664 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.4008, allocations: 14.2 kB / 0.5518 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.459e-05/0.4008, allocations: 1.438 kB / 0.5518 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.878e-05/0.4009, allocations: 42.14 kB / 0.5518 GB, free: 9.613 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.4009, allocations: 18.03 kB / 0.5518 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002222/0.4012, allocations: 157 kB / 0.552 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.4012, allocations: 1.062 kB / 0.552 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.57e-05/0.4012, allocations: 1.062 kB / 0.552 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.4014, allocations: 165.2 kB / 0.5521 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.4014, allocations: 0 / 0.5521 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.4015, allocations: 5.219 kB / 0.5521 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4015, allocations: 0 / 0.5521 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.4016, allocations: 138.5 kB / 0.5523 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.4018, allocations: 158.6 kB / 0.5524 GB, free: 9.078 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.402, allocations: 146.1 kB / 0.5526 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/0.4022, allocations: 139.2 kB / 0.5527 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.158e-06/0.4022, allocations: 1.156 kB / 0.5527 GB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.4022, allocations: 31.84 kB / 0.5527 GB, free: 8.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.212e-06/0.4022, allocations: 0 / 0.5527 GB, free: 8.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0006932/0.4029, allocations: 483.7 kB / 0.5532 GB, free: 8.625 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.031e-05/0.403, allocations: 104.2 kB / 0.5533 GB, free: 8.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.4031, allocations: 153.6 kB / 0.5534 GB, free: 8.395 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.4032, allocations: 25.7 kB / 0.5535 GB, free: 8.363 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/0.4032, allocations: 97.48 kB / 0.5536 GB, free: 8.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.263e-05/0.4033, allocations: 77.27 kB / 0.5536 GB, free: 8.203 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.489e-05/0.4034, allocations: 28.61 kB / 0.5537 GB, free: 8.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.4036, allocations: 335.8 kB / 0.554 GB, free: 7.848 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.4037, allocations: 127.2 kB / 0.5541 GB, free: 7.785 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.4039, allocations: 138.8 kB / 0.5542 GB, free: 7.715 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/0.4042, allocations: 305.3 kB / 0.5545 GB, free: 7.559 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4042, allocations: 0 / 0.5545 GB, free: 7.559 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003829/0.4046, allocations: 330.1 kB / 0.5548 GB, free: 7.379 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.559e-05/0.4047, allocations: 60.8 kB / 0.5549 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.4047, allocations: 5.109 kB / 0.5549 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.4047, allocations: 0 / 0.5549 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.943e-06/0.4047, allocations: 1.156 kB / 0.5549 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.4047, allocations: 0 / 0.5549 GB, free: 7.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.362e-05/0.4047, allocations: 12.58 kB / 0.5549 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/0.4048, allocations: 6.094 kB / 0.5549 GB, free: 7.324 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.0001993/0.405, allocations: 195.4 kB / 0.5551 GB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.091e-05/0.405, allocations: 21.8 kB / 0.5551 GB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.587e-05/0.405, allocations: 20.48 kB / 0.5552 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.405, allocations: 1.094 kB / 0.5552 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.4051, allocations: 0 / 0.5552 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.4051, allocations: 0 / 0.5552 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.4052, allocations: 174.5 kB / 0.5553 GB, free: 6.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4052, allocations: 5.156 kB / 0.5553 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.4052, allocations: 0 / 0.5553 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.4052, allocations: 1.125 kB / 0.5553 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.4053, allocations: 4.5 kB / 0.5553 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4053, allocations: 0 / 0.5553 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.4053, allocations: 5.094 kB / 0.5553 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006482/0.4059, allocations: 0.5308 MB / 0.5559 GB, free: 6.449 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.38e-05/0.4059, allocations: 19.8 kB / 0.5559 GB, free: 6.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.921e-05/0.406, allocations: 4 kB / 0.5559 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.087e-05/0.406, allocations: 4 kB / 0.5559 GB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.406, allocations: 8 kB / 0.5559 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.406, allocations: 11.94 kB / 0.5559 GB, free: 6.402 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.353e-05/0.4061, allocations: 111.2 kB / 0.556 GB, free: 6.293 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4061, allocations: 0 / 0.556 GB, free: 6.293 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00119/0.4073, allocations: 343.3 kB / 0.5563 GB, free: 5.957 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.001871/0.4092, allocations: 1.333 MB / 0.5576 GB, free: 4.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006393/0.4098, allocations: 0.5025 MB / 0.5581 GB, free: 4.062 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.4098, allocations: 0 / 0.5581 GB, free: 4.062 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003188/0.4102, allocations: 301 kB / 0.5584 GB, free: 3.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.4104, allocations: 11.98 kB / 0.5584 GB, free: 3.738 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003395/0.4138, allocations: 2.997 MB / 0.5613 GB, free: 0.625 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.4139, allocations: 114 kB / 0.5615 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.257e-05/0.4139, allocations: 0 / 0.5615 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.813e-05/0.4139, allocations: 31.42 kB / 0.5615 GB, free: 472 kB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4139, allocations: 0 / 0.5615 GB, free: 472 kB / 398.1 MB [CodegenCFunctions.tpl:5657:13-5657: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.110536881024018] Failed to read output from testmodel.py, exit status != 0: 0.4521209590602666 0.46800199099999995 0.06541841200000001 Calling exit ...