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.0008696/0.0008696, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001055/0.001055, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9108/0.9108, allocations: 177.1 MB / 204.3 MB, free: 5.699 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.2277/0.2277, allocations: 29.41 MB / 290.1 MB, free: 2.438 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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 430.2 MB, free: 13.56 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.282e-05, allocations: 2.281 kB / 430.2 MB, free: 13.56 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.002526/0.002549, allocations: 2.192 MB / 432.4 MB, free: 11.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00237/0.004919, allocations: 1.912 MB / 434.3 MB, free: 9.422 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.326e-05/0.004982, allocations: 0 / 434.3 MB, free: 9.422 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.005147, allocations: 7.922 kB / 434.3 MB, free: 9.414 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.518e-05/0.005242, allocations: 31.83 kB / 434.4 MB, free: 9.383 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001939/0.007181, allocations: 0.973 MB / 435.3 MB, free: 8.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.007288, allocations: 75.62 kB / 435.4 MB, free: 8.336 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.957e-05/0.007328, allocations: 12.19 kB / 435.4 MB, free: 8.324 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.00746, allocations: 43.88 kB / 435.5 MB, free: 8.281 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.409e-05/0.007524, allocations: 35.89 kB / 435.5 MB, free: 8.246 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.007535, allocations: 4 kB / 435.5 MB, free: 8.242 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001772/0.009306, allocations: 1.909 MB / 437.4 MB, free: 6.328 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.732e-05/0.009354, allocations: 31.86 kB / 437.5 MB, free: 6.297 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.411e-05/0.009388, allocations: 19.94 kB / 437.5 MB, free: 6.277 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.01051, allocations: 1.504 MB / 439 MB, free: 4.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.01051, allocations: 0 / 439 MB, free: 4.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.01052, allocations: 4 kB / 439 MB, free: 4.766 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.01052, allocations: 0 / 439 MB, free: 4.766 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.0004923/0.01101, allocations: 0.4981 MB / 439.5 MB, free: 4.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.01106, allocations: 15.98 kB / 439.5 MB, free: 4.215 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.499e-05/0.01109, allocations: 42.73 kB / 439.5 MB, free: 4.164 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.01113, allocations: 12.84 kB / 439.6 MB, free: 4.152 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.01128, allocations: 141.4 kB / 439.7 MB, free: 3.988 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.01129, allocations: 4.125 kB / 439.7 MB, free: 3.984 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.0113, allocations: 8 kB / 439.7 MB, free: 3.977 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.01148, allocations: 166.4 kB / 439.9 MB, free: 3.805 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.01149, allocations: 0 / 439.9 MB, free: 3.805 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.0115, allocations: 0 / 439.9 MB, free: 3.805 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.0115, allocations: 0 / 439.9 MB, free: 3.805 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.798e-05/0.01159, allocations: 125.7 kB / 440 MB, free: 3.676 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001245/0.01171, allocations: 156.6 kB / 440.1 MB, free: 3.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.01184, allocations: 148.1 kB / 440.3 MB, free: 3.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.595e-05/0.01192, allocations: 134.5 kB / 440.4 MB, free: 3.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.01193, allocations: 0 / 440.4 MB, free: 3.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.01196, allocations: 30.56 kB / 440.4 MB, free: 3.141 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 8.91e-07/0.01196, allocations: 4 kB / 440.4 MB, free: 3.137 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0004264/0.01238, allocations: 474.8 kB / 440.9 MB, free: 2.648 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.01243, allocations: 93.11 kB / 441 MB, free: 2.539 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.24e-05/0.01252, allocations: 156.3 kB / 441.2 MB, free: 2.379 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.01253, allocations: 25.7 kB / 441.2 MB, free: 2.348 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.414e-05/0.01258, allocations: 100.6 kB / 441.3 MB, free: 2.246 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.551e-05/0.01263, allocations: 79.28 kB / 441.4 MB, free: 2.168 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.488e-05/0.01267, allocations: 29.7 kB / 441.4 MB, free: 2.133 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.636e-05/0.01275, allocations: 334.8 kB / 441.7 MB, free: 1.797 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.626e-05/0.01284, allocations: 125.7 kB / 441.8 MB, free: 1.668 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.773e-05/0.01292, allocations: 133.7 kB / 442 MB, free: 1.531 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.0131, allocations: 297.6 kB / 442.3 MB, free: 1.227 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.0131, allocations: 3.938 kB / 442.3 MB, free: 1.223 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002246/0.01333, allocations: 320.8 kB / 442.6 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.533e-05/0.01337, allocations: 65.66 kB / 442.6 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01338, allocations: 0 / 442.6 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.01339, allocations: 0 / 442.6 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.764e-06/0.01339, allocations: 7.922 kB / 442.6 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.01339, allocations: 7.922 kB / 442.7 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.072e-05/0.01344, allocations: 15.89 kB / 442.7 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.084e-05/0.01346, allocations: 8 kB / 442.7 MB, free: 0.7812 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 0.000103/0.01356, allocations: 199.5 kB / 442.9 MB, free: 0.5703 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.493e-05/0.01357, allocations: 15.91 kB / 442.9 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.137e-05/0.0136, allocations: 13.27 kB / 442.9 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.0136, allocations: 0 / 442.9 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.0136, allocations: 0 / 442.9 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.01361, allocations: 4 kB / 442.9 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.01372, allocations: 168.5 kB / 443.1 MB, free: 336 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.01372, allocations: 0 / 443.1 MB, free: 336 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.32e-07/0.01372, allocations: 0 / 443.1 MB, free: 336 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.01372, allocations: 0 / 443.1 MB, free: 336 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.01373, allocations: 12 kB / 443.1 MB, free: 324 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.01374, allocations: 0 / 443.1 MB, free: 324 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.01374, allocations: 0 / 443.1 MB, free: 324 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1942/0.2079, allocations: 0.5096 MB / 443.6 MB, free: 54.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-05/0.208, allocations: 20.89 kB / 443.6 MB, free: 54.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.208, allocations: 3.938 kB / 443.6 MB, free: 54.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.422e-05/0.208, allocations: 3.219 kB / 443.6 MB, free: 54.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.08e-05/0.2081, allocations: 5.188 kB / 443.6 MB, free: 54.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.2081, allocations: 6.312 kB / 443.6 MB, free: 54.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.765e-05/0.2081, allocations: 116.5 kB / 443.7 MB, free: 53.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2081, allocations: 0 / 443.7 MB, free: 53.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000782/0.2089, allocations: 340.2 kB / 444.1 MB, free: 53.95 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.0009743/0.2099, allocations: 1.359 MB / 445.4 MB, free: 53.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003262/0.2102, allocations: 0.5001 MB / 445.9 MB, free: 53.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2102, allocations: 3.281 kB / 445.9 MB, free: 53.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.2103, allocations: 290.5 kB / 446.2 MB, free: 53.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.2105, allocations: 9.719 kB / 446.2 MB, free: 53.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001604/0.2121, allocations: 2.958 MB / 449.2 MB, free: 51.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.52e-05/0.2122, allocations: 113.2 kB / 449.3 MB, free: 51.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.366e-05/0.2122, allocations: 0 / 449.3 MB, free: 51.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.754e-05/0.2122, allocations: 35.53 kB / 449.3 MB, free: 51.37 MB / 410.7 MB Notification: Performance of SimCode: time 9.52e-07/0.2122, allocations: 3.281 kB / 449.3 MB, free: 51.37 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.9983775597065687] Failed to read output from testmodel.py, exit status != 0: 0.23119950480759144 0.238463585 0.22645251400000002 Calling exit ...