Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.0009033/0.0009033, allocations: 79.7 kB / 20.67 MB, free: 3.895 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.0009796/0.0009796, allocations: 170 kB / 23.95 MB, free: 0.6133 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 1.022/1.022, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.2577/0.2577, allocations: 29.4 MB / 290.1 MB, free: 2.449 MB / 266.7 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.536e-06/3.536e-06, allocations: 0 / 431 MB, free: 12.85 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.189e-05/3.543e-05, allocations: 6.281 kB / 431 MB, free: 12.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003072/0.003108, allocations: 2.199 MB / 433.2 MB, free: 10.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002303/0.00541, allocations: 1.903 MB / 435.1 MB, free: 8.707 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.649e-05/0.005497, allocations: 0 / 435.1 MB, free: 8.707 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001821/0.005679, allocations: 15.92 kB / 435.1 MB, free: 8.691 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.005781, allocations: 31.77 kB / 435.2 MB, free: 8.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002274/0.008055, allocations: 0.9661 MB / 436.1 MB, free: 7.691 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.008174, allocations: 79.62 kB / 436.2 MB, free: 7.613 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.158e-05/0.008215, allocations: 4.188 kB / 436.2 MB, free: 7.609 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.008354, allocations: 39.89 kB / 436.2 MB, free: 7.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.48e-05/0.008428, allocations: 51.88 kB / 436.3 MB, free: 7.52 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.00844, allocations: 0 / 436.3 MB, free: 7.52 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002149/0.01059, allocations: 1.902 MB / 438.2 MB, free: 5.613 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.803e-05/0.01065, allocations: 35.84 kB / 438.2 MB, free: 5.578 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.41e-05/0.01069, allocations: 19.94 kB / 438.2 MB, free: 5.559 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002292/0.01298, allocations: 1.504 MB / 439.8 MB, free: 4.051 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.01299, allocations: 0 / 439.8 MB, free: 4.051 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.01299, allocations: 4 kB / 439.8 MB, free: 4.047 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.013, allocations: 0 / 439.8 MB, free: 4.047 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007563/0.01375, allocations: 0.502 MB / 440.3 MB, free: 3.508 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.0138, allocations: 11.98 kB / 440.3 MB, free: 3.496 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.191e-05/0.01383, allocations: 38.75 kB / 440.3 MB, free: 3.449 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.01387, allocations: 12.84 kB / 440.3 MB, free: 3.438 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.01403, allocations: 148.4 kB / 440.5 MB, free: 3.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.01404, allocations: 12.12 kB / 440.5 MB, free: 3.258 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.01405, allocations: 0 / 440.5 MB, free: 3.258 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.01423, allocations: 155.3 kB / 440.6 MB, free: 3.094 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.01424, allocations: 4 kB / 440.6 MB, free: 3.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.01425, allocations: 4 kB / 440.6 MB, free: 3.086 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.01426, allocations: 0 / 440.6 MB, free: 3.086 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.067e-05/0.01435, allocations: 125.6 kB / 440.8 MB, free: 2.957 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001276/0.01447, allocations: 156.6 kB / 440.9 MB, free: 2.762 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.01459, allocations: 148.1 kB / 441.1 MB, free: 2.602 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.648e-05/0.01468, allocations: 138.5 kB / 441.2 MB, free: 2.457 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.919e-06/0.01468, allocations: 0 / 441.2 MB, free: 2.457 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.0147, allocations: 34.56 kB / 441.2 MB, free: 2.414 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 9.62e-07/0.0147, allocations: 0 / 441.2 MB, free: 2.414 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004012/0.0151, allocations: 466.8 kB / 441.7 MB, free: 1.934 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.01514, allocations: 109 kB / 441.8 MB, free: 1.809 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.544e-05/0.01524, allocations: 148.3 kB / 441.9 MB, free: 1.656 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.01525, allocations: 25.7 kB / 442 MB, free: 1.625 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.01529, allocations: 100.6 kB / 442.1 MB, free: 1.523 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.932e-05/0.01535, allocations: 83.28 kB / 442.1 MB, free: 1.441 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.01539, allocations: 29.64 kB / 442.2 MB, free: 1.406 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.006e-05/0.01547, allocations: 330.8 kB / 442.5 MB, free: 1.074 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.01557, allocations: 125.6 kB / 442.6 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.01567, allocations: 131.1 kB / 442.7 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.01591, allocations: 292.2 kB / 443 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.01591, allocations: 7.969 kB / 443 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002297/0.01614, allocations: 320.7 kB / 443.3 MB, free: 176 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.966e-05/0.01619, allocations: 66.44 kB / 443.4 MB, free: 104 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.01619, allocations: 0 / 443.4 MB, free: 104 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.01621, allocations: 0 / 443.4 MB, free: 104 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.134e-06/0.01621, allocations: 3.984 kB / 443.4 MB, free: 100 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.01622, allocations: 11.92 kB / 443.4 MB, free: 88 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.415e-05/0.01626, allocations: 15.89 kB / 443.4 MB, free: 72 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.01628, allocations: 4 kB / 443.4 MB, free: 68 kB / 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 0.1842/0.2005, allocations: 192.8 kB / 443.6 MB, free: 54.03 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.2005, allocations: 17.75 kB / 443.7 MB, free: 54.03 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.91e-05/0.2005, allocations: 11.09 kB / 443.7 MB, free: 54.03 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2005, allocations: 4.109 kB / 443.7 MB, free: 54.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.2005, allocations: 3.25 kB / 443.7 MB, free: 54.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2005, allocations: 0 / 443.7 MB, free: 54.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.066e-05/0.2006, allocations: 163.3 kB / 443.8 MB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2006, allocations: 3.219 kB / 443.8 MB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-06/0.2006, allocations: 0.5 kB / 443.8 MB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.2006, allocations: 6 kB / 443.8 MB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.2006, allocations: 3.188 kB / 443.8 MB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.2006, allocations: 6.312 kB / 443.8 MB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2006, allocations: 0 / 443.8 MB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003843/0.201, allocations: 0.5135 MB / 444.4 MB, free: 53.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.459e-05/0.201, allocations: 24.42 kB / 444.4 MB, free: 53.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.201, allocations: 3.125 kB / 444.4 MB, free: 53.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.417e-05/0.2011, allocations: 3.656 kB / 444.4 MB, free: 53.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.35e-05/0.2011, allocations: 12.44 kB / 444.4 MB, free: 53.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.2011, allocations: 6.438 kB / 444.4 MB, free: 53.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.457e-05/0.2012, allocations: 120.1 kB / 444.5 MB, free: 53.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2012, allocations: 0 / 444.5 MB, free: 53.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007595/0.2019, allocations: 342.9 kB / 444.9 MB, free: 53.66 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.001096/0.203, allocations: 1.346 MB / 446.2 MB, free: 52.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000346/0.2034, allocations: 0.4989 MB / 446.7 MB, free: 52.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2034, allocations: 2.969 kB / 446.7 MB, free: 52.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.2035, allocations: 295 kB / 447 MB, free: 52.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.2037, allocations: 17.3 kB / 447 MB, free: 52.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.2056, allocations: 2.955 MB / 450 MB, free: 51.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.756e-05/0.2056, allocations: 112 kB / 450.1 MB, free: 51 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.663e-05/0.2056, allocations: 0 / 450.1 MB, free: 51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.253e-05/0.2057, allocations: 35.19 kB / 450.1 MB, free: 50.97 MB / 410.7 MB Notification: Performance of SimCode: time 7.81e-07/0.2057, allocations: 4.219 kB / 450.1 MB, free: 50.97 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: 2.185187422670424]