Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.0008332/0.0008332, allocations: 91.67 kB / 20.68 MB, free: 3.871 MB / 18.57 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.0008189/0.0008189, allocations: 166 kB / 23.95 MB, free: 0.5977 MB / 18.57 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 0.8987/0.8987, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.2049/0.2049, allocations: 29.4 MB / 290.1 MB, free: 2.469 MB / 266.7 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_matrixTrDat0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.399e-05/1.586e-05, allocations: 6.219 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.002047/0.002063, allocations: 2.18 MB / 432.4 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.004043, allocations: 1.91 MB / 434.3 MB, free: 9.465 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.574e-05/0.004089, allocations: 3.938 kB / 434.3 MB, free: 9.461 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.004258, allocations: 15.91 kB / 434.3 MB, free: 9.445 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.937e-05/0.004327, allocations: 31.83 kB / 434.4 MB, free: 9.414 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.005678, allocations: 0.9724 MB / 435.3 MB, free: 8.441 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.863e-05/0.005777, allocations: 79.62 kB / 435.4 MB, free: 8.363 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.002e-05/0.005817, allocations: 4.188 kB / 435.4 MB, free: 8.359 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.005936, allocations: 47.83 kB / 435.5 MB, free: 8.312 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.118e-05/0.006007, allocations: 39.88 kB / 435.5 MB, free: 8.273 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.006017, allocations: 0 / 435.5 MB, free: 8.273 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.00767, allocations: 1.909 MB / 437.4 MB, free: 6.359 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.5e-05/0.007705, allocations: 7.938 kB / 437.4 MB, free: 6.352 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.691e-05/0.007732, allocations: 15.92 kB / 437.4 MB, free: 6.336 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.008746, allocations: 1.473 MB / 438.9 MB, free: 4.859 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.743e-06/0.008747, allocations: 0 / 438.9 MB, free: 4.859 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.008748, allocations: 4 kB / 438.9 MB, free: 4.855 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.008752, allocations: 0 / 438.9 MB, free: 4.855 MB / 410.7 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.0004084/0.00916, allocations: 438.5 kB / 439.3 MB, free: 4.391 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.009199, allocations: 15.98 kB / 439.4 MB, free: 4.375 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.949e-05/0.009229, allocations: 34.75 kB / 439.4 MB, free: 4.332 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.009263, allocations: 8.891 kB / 439.4 MB, free: 4.324 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.009389, allocations: 129.4 kB / 439.5 MB, free: 4.172 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.126e-06/0.009398, allocations: 0 / 439.5 MB, free: 4.172 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.009405, allocations: 0 / 439.5 MB, free: 4.172 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.009526, allocations: 103.4 kB / 439.6 MB, free: 4.059 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.009532, allocations: 4 kB / 439.6 MB, free: 4.055 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.373e-06/0.00954, allocations: 0 / 439.6 MB, free: 4.055 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.009544, allocations: 0 / 439.6 MB, free: 4.055 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.48e-05/0.009589, allocations: 57.69 kB / 439.7 MB, free: 3.992 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001087/0.009698, allocations: 140.6 kB / 439.8 MB, free: 3.812 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.041e-05/0.009768, allocations: 88.19 kB / 439.9 MB, free: 3.711 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.276e-05/0.009811, allocations: 66.56 kB / 440 MB, free: 3.637 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.009817, allocations: 4 kB / 440 MB, free: 3.633 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.009838, allocations: 34.55 kB / 440 MB, free: 3.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 8.11e-07/0.009838, allocations: 0 / 440 MB, free: 3.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002345/0.01007, allocations: 230.7 kB / 440.2 MB, free: 3.34 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001736/0.01025, allocations: 97.03 kB / 440.3 MB, free: 3.227 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.472e-05/0.01031, allocations: 128.8 kB / 440.5 MB, free: 3.094 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.367e-06/0.01032, allocations: 29.7 kB / 440.5 MB, free: 3.059 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.807e-05/0.01035, allocations: 84.14 kB / 440.6 MB, free: 2.973 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.01038, allocations: 27.91 kB / 440.6 MB, free: 2.945 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.0104, allocations: 21.7 kB / 440.6 MB, free: 2.918 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.581e-05/0.01048, allocations: 322.8 kB / 440.9 MB, free: 2.594 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.374e-05/0.01052, allocations: 65.67 kB / 441 MB, free: 2.523 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.581e-05/0.01056, allocations: 61.67 kB / 441.1 MB, free: 2.457 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.842e-05/0.01065, allocations: 144.2 kB / 441.2 MB, free: 2.301 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.01065, allocations: 4.031 kB / 441.2 MB, free: 2.297 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000108/0.01076, allocations: 169 kB / 441.4 MB, free: 2.113 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.01079, allocations: 45.62 kB / 441.4 MB, free: 2.062 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.01079, allocations: 4 kB / 441.4 MB, free: 2.059 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.0108, allocations: 0 / 441.4 MB, free: 2.059 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/0.0108, allocations: 3.938 kB / 441.4 MB, free: 2.055 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.01081, allocations: 3.938 kB / 441.4 MB, free: 2.051 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.01e-05/0.01084, allocations: 3.984 kB / 441.4 MB, free: 2.047 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.01085, allocations: 4 kB / 441.4 MB, free: 2.043 MB / 410.7 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 6.899e-05/0.01092, allocations: 159.5 kB / 441.6 MB, free: 1.871 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.895e-06/0.01093, allocations: 11.98 kB / 441.6 MB, free: 1.859 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.159e-05/0.01094, allocations: 12.42 kB / 441.6 MB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.01094, allocations: 0 / 441.6 MB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.01095, allocations: 0 / 441.6 MB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.01095, allocations: 0 / 441.6 MB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.491e-05/0.01101, allocations: 140.7 kB / 441.8 MB, free: 1.668 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-07/0.01101, allocations: 0 / 441.8 MB, free: 1.668 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.01101, allocations: 0 / 441.8 MB, free: 1.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.22e-07/0.01101, allocations: 0 / 441.8 MB, free: 1.668 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.01102, allocations: 4 kB / 441.8 MB, free: 1.664 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01102, allocations: 3.984 kB / 441.8 MB, free: 1.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.01103, allocations: 7.984 kB / 441.8 MB, free: 1.652 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.01119, allocations: 260.3 kB / 442 MB, free: 1.367 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-06/0.01119, allocations: 7.891 kB / 442 MB, free: 1.359 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.01121, allocations: 4 kB / 442 MB, free: 1.355 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.165e-05/0.01122, allocations: 0 / 442 MB, free: 1.355 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.357e-05/0.01123, allocations: 4 kB / 442 MB, free: 1.352 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.01124, allocations: 0 / 442 MB, free: 1.352 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.277e-05/0.01127, allocations: 95.27 kB / 442.1 MB, free: 1.258 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01127, allocations: 0 / 442.1 MB, free: 1.258 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004115/0.01168, allocations: 319.4 kB / 442.4 MB, free: 0.9453 MB / 410.7 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.135/0.1467, allocations: 1.096 MB / 443.5 MB, free: 53.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002199/0.1469, allocations: 248.1 kB / 443.8 MB, free: 53.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1469, allocations: 0 / 443.8 MB, free: 53.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.192e-05/0.147, allocations: 151.8 kB / 443.9 MB, free: 53.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.1472, allocations: 11.31 kB / 443.9 MB, free: 53.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.1484, allocations: 1.888 MB / 445.8 MB, free: 52.42 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.674e-05/0.1484, allocations: 77.97 kB / 445.9 MB, free: 52.35 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.268e-05/0.1484, allocations: 3.219 kB / 445.9 MB, free: 52.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.795e-05/0.1484, allocations: 23.44 kB / 445.9 MB, free: 52.35 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1484, allocations: 0 / 445.9 MB, free: 52.35 MB / 410.7 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: 1.883671353571117] Failed to read output from testmodel.py, exit status != 0: 0.16350496374070644 0.16992046600000002 0.159833422 Calling exit ...