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.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.001288/0.001288, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001912/0.001912, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.475/1.475, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.1921/0.1921, allocations: 38.52 MB / 353.2 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 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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",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.002104/0.002104, allocations: 63.89 kB / 493.3 MB, free: 4.863 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3462, allocations: 62.47 MB / 0.5428 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.003688/0.3499, allocations: 2.212 MB / 0.5449 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003202/0.3531, allocations: 2.106 MB / 0.547 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.114e-05/0.3531, allocations: 1.781 kB / 0.547 GB, free: 13.03 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.3533, allocations: 13.95 kB / 0.547 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.788e-05/0.3534, allocations: 29.7 kB / 0.547 GB, free: 13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002441/0.3558, allocations: 0.9876 MB / 0.548 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001371/0.356, allocations: 75.75 kB / 0.5481 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.226e-05/0.356, allocations: 10.39 kB / 0.5481 GB, free: 12.31 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.3562, allocations: 43.69 kB / 0.5481 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.152e-05/0.3563, allocations: 46.06 kB / 0.5482 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.3563, allocations: 2.219 kB / 0.5482 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003452/0.3597, allocations: 2.233 MB / 0.5504 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.092e-05/0.3598, allocations: 14.52 kB / 0.5504 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.376e-05/0.3598, allocations: 18.66 kB / 0.5504 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001738/0.3615, allocations: 1.362 MB / 0.5517 GB, free: 9.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3615, allocations: 0 / 0.5517 GB, free: 9.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3615, allocations: 0 / 0.5517 GB, free: 9.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.3615, allocations: 0 / 0.5517 GB, free: 9.875 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.0006511/0.3622, allocations: 450.6 kB / 0.5521 GB, free: 9.461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.3622, allocations: 13.05 kB / 0.5522 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.967e-05/0.3623, allocations: 9.562 kB / 0.5522 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.046e-05/0.3623, allocations: 39.88 kB / 0.5522 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.448e-05/0.3623, allocations: 12.16 kB / 0.5522 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.3625, allocations: 117.7 kB / 0.5523 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-06/0.3625, allocations: 1.188 kB / 0.5523 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.3625, allocations: 5.078 kB / 0.5523 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.3626, allocations: 52.66 kB / 0.5524 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.3626, allocations: 0 / 0.5524 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.3627, allocations: 0 / 0.5524 GB, free: 9.219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.3627, allocations: 5.156 kB / 0.5524 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.864e-05/0.3627, allocations: 23.42 kB / 0.5524 GB, free: 9.207 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.3629, allocations: 144.5 kB / 0.5526 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.85e-05/0.3629, allocations: 35.58 kB / 0.5526 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.7e-05/0.363, allocations: 27.84 kB / 0.5526 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.161e-06/0.363, allocations: 1.438 kB / 0.5526 GB, free: 8.988 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.363, allocations: 34.55 kB / 0.5526 GB, free: 8.945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.031e-06/0.363, allocations: 5.438 kB / 0.5527 GB, free: 8.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002698/0.3633, allocations: 152.8 kB / 0.5528 GB, free: 8.848 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.3634, allocations: 86.92 kB / 0.5529 GB, free: 8.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.3635, allocations: 123.3 kB / 0.553 GB, free: 8.637 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.3635, allocations: 27.08 kB / 0.553 GB, free: 8.605 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.644e-05/0.3635, allocations: 86.52 kB / 0.5531 GB, free: 8.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/0.3636, allocations: 27.95 kB / 0.5531 GB, free: 8.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.3636, allocations: 15.56 kB / 0.5531 GB, free: 8.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3638, allocations: 329.6 kB / 0.5535 GB, free: 8.152 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.131e-05/0.3638, allocations: 23.05 kB / 0.5535 GB, free: 8.145 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.324e-05/0.3638, allocations: 20.48 kB / 0.5535 GB, free: 8.141 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.364, allocations: 123.2 kB / 0.5536 GB, free: 8.055 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.364, allocations: 0 / 0.5536 GB, free: 8.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001713/0.3641, allocations: 139.1 kB / 0.5538 GB, free: 7.957 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.847e-05/0.3642, allocations: 48.62 kB / 0.5538 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.3642, allocations: 0 / 0.5538 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/0.3642, allocations: 1.062 kB / 0.5538 GB, free: 7.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.3642, allocations: 4.062 kB / 0.5538 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.3642, allocations: 0 / 0.5538 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.354e-05/0.3643, allocations: 14.27 kB / 0.5538 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.3643, allocations: 3.094 kB / 0.5538 GB, free: 7.902 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.0001243/0.3644, allocations: 153.9 kB / 0.554 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.858e-05/0.3644, allocations: 9.016 kB / 0.554 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.823e-05/0.3644, allocations: 10.59 kB / 0.554 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.3644, allocations: 0 / 0.554 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3644, allocations: 0 / 0.554 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.3644, allocations: 13.12 kB / 0.554 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.3646, allocations: 146.1 kB / 0.5541 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3646, allocations: 1.125 kB / 0.5541 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.3646, allocations: 0 / 0.5541 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3646, allocations: 1.156 kB / 0.5541 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.3646, allocations: 2.906 kB / 0.5541 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3646, allocations: 0 / 0.5541 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3646, allocations: 0 / 0.5541 GB, free: 7.547 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.3649, allocations: 226.5 kB / 0.5544 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.377e-05/0.3649, allocations: 15.3 kB / 0.5544 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.3649, allocations: 2.281 kB / 0.5544 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.418e-05/0.3649, allocations: 1.094 kB / 0.5544 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/0.3649, allocations: 2.281 kB / 0.5544 GB, free: 7.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.3649, allocations: 6.25 kB / 0.5544 GB, free: 7.379 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.471e-05/0.365, allocations: 98.64 kB / 0.5545 GB, free: 7.297 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.365, allocations: 0 / 0.5545 GB, free: 7.297 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008331/0.3658, allocations: 323.1 kB / 0.5548 GB, free: 7.238 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.001422/0.3673, allocations: 1.01 MB / 0.5558 GB, free: 6.469 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002513/0.3675, allocations: 172.7 kB / 0.5559 GB, free: 6.367 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3675, allocations: 0 / 0.5559 GB, free: 6.367 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.3676, allocations: 128.8 kB / 0.5561 GB, free: 6.277 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.3679, allocations: 12.56 kB / 0.5561 GB, free: 6.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.3698, allocations: 1.695 MB / 0.5577 GB, free: 4.695 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.3702, allocations: 0.6963 MB / 0.5584 GB, free: 3.973 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.232e-05/0.3702, allocations: 0 / 0.5584 GB, free: 3.973 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.3702, allocations: 15.44 kB / 0.5584 GB, free: 3.957 MB / 398.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3702, allocations: 0 / 0.5584 GB, free: 3.957 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: 2.9637980539700948] Failed to read output from testmodel.py, exit status != 0: 0.4044739289674908 0.421599435 0.056557818 Calling exit ...