Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.0008547/0.0008547, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008127/0.0008127, allocations: 173.9 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 0.8822/0.8822, 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.2163/0.2163, allocations: 29.41 MB / 290.1 MB, free: 2.461 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_matrixTrDat3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.744e-05/1.933e-05, allocations: 5.656 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.00265/0.00267, allocations: 2.199 MB / 432.4 MB, free: 11.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002369/0.005038, allocations: 1.903 MB / 434.3 MB, free: 9.461 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.707e-05/0.005085, allocations: 7.938 kB / 434.3 MB, free: 9.453 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.00521, allocations: 7.922 kB / 434.3 MB, free: 9.445 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.927e-05/0.005289, allocations: 31.83 kB / 434.4 MB, free: 9.414 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001424/0.006714, allocations: 0.9699 MB / 435.3 MB, free: 8.441 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.006819, allocations: 79.62 kB / 435.4 MB, free: 8.363 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.164e-05/0.006861, allocations: 4.188 kB / 435.4 MB, free: 8.359 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001216/0.006983, allocations: 39.89 kB / 435.5 MB, free: 8.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.737e-05/0.00706, allocations: 51.86 kB / 435.5 MB, free: 8.27 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.007072, allocations: 4 kB / 435.5 MB, free: 8.266 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002007/0.009079, allocations: 1.905 MB / 437.4 MB, free: 6.355 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.106e-05/0.00913, allocations: 43.84 kB / 437.5 MB, free: 6.312 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.521e-05/0.009165, allocations: 27.88 kB / 437.5 MB, free: 6.285 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.01026, allocations: 1.531 MB / 439 MB, free: 4.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.01026, allocations: 0 / 439 MB, free: 4.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01026, allocations: 0 / 439 MB, free: 4.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.01027, allocations: 7.938 kB / 439 MB, free: 4.742 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004765/0.01074, allocations: 0.5408 MB / 439.6 MB, free: 4.164 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.01079, allocations: 11.98 kB / 439.6 MB, free: 4.152 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.211e-05/0.01082, allocations: 46.73 kB / 439.6 MB, free: 4.098 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.01085, allocations: 24.75 kB / 439.7 MB, free: 4.074 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.011, allocations: 153.5 kB / 439.8 MB, free: 3.898 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.01101, allocations: 4.125 kB / 439.8 MB, free: 3.895 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.687e-06/0.01102, allocations: 0 / 439.8 MB, free: 3.895 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.01124, allocations: 228.3 kB / 440 MB, free: 3.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.01125, allocations: 0 / 440 MB, free: 3.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.01125, allocations: 0 / 440 MB, free: 3.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.01126, allocations: 4 kB / 440 MB, free: 3.656 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.01138, allocations: 190 kB / 440.2 MB, free: 3.465 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001272/0.01151, allocations: 177.2 kB / 440.4 MB, free: 3.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.01165, allocations: 216.4 kB / 440.6 MB, free: 3.023 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.01177, allocations: 190.8 kB / 440.8 MB, free: 2.828 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-06/0.01178, allocations: 0 / 440.8 MB, free: 2.828 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.0118, allocations: 38.55 kB / 440.8 MB, free: 2.781 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.001e-06/0.0118, allocations: 0 / 440.8 MB, free: 2.781 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.0005512/0.01235, allocations: 0.6936 MB / 441.5 MB, free: 2.062 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.0124, allocations: 117 kB / 441.6 MB, free: 1.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.01251, allocations: 174.3 kB / 441.8 MB, free: 1.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.01252, allocations: 25.7 kB / 441.8 MB, free: 1.719 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.657e-05/0.01257, allocations: 104.8 kB / 441.9 MB, free: 1.613 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.571e-05/0.01264, allocations: 130.8 kB / 442.1 MB, free: 1.484 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.01268, allocations: 37.7 kB / 442.1 MB, free: 1.441 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.551e-05/0.01277, allocations: 334.8 kB / 442.4 MB, free: 1.105 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.0129, allocations: 185.6 kB / 442.6 MB, free: 0.918 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.01302, allocations: 189.6 kB / 442.8 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005615/0.01358, allocations: 453.2 kB / 443.2 MB, free: 276 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/0.01358, allocations: 3.938 kB / 443.2 MB, free: 272 kB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.1949/0.2084, allocations: 463.2 kB / 443.7 MB, free: 54.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.772e-05/0.2085, allocations: 89.12 kB / 443.8 MB, free: 54.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.2085, allocations: 0.9844 kB / 443.8 MB, free: 54.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.2086, allocations: 0 / 443.8 MB, free: 54.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.343e-06/0.2086, allocations: 0 / 443.8 MB, free: 54.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.2086, allocations: 3.859 kB / 443.8 MB, free: 54.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.872e-05/0.2087, allocations: 18.3 kB / 443.8 MB, free: 54.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.2087, allocations: 10.66 kB / 443.8 MB, free: 54.03 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.0001654/0.2089, allocations: 234.2 kB / 444 MB, free: 53.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.246e-05/0.2089, allocations: 29.14 kB / 444.1 MB, free: 53.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.425e-05/0.2089, allocations: 18.02 kB / 444.1 MB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.2089, allocations: 4.828 kB / 444.1 MB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.411e-06/0.2089, allocations: 1.5 kB / 444.1 MB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2089, allocations: 0 / 444.1 MB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.2091, allocations: 200.1 kB / 444.3 MB, free: 53.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2091, allocations: 1.812 kB / 444.3 MB, free: 53.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.12e-07/0.2091, allocations: 0 / 444.3 MB, free: 53.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.2091, allocations: 0 / 444.3 MB, free: 53.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.2091, allocations: 6 kB / 444.3 MB, free: 53.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2091, allocations: 0 / 444.3 MB, free: 53.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2091, allocations: 3.656 kB / 444.3 MB, free: 53.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005987/0.2097, allocations: 0.7798 MB / 445.1 MB, free: 53.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.294e-05/0.2097, allocations: 26.91 kB / 445.1 MB, free: 53.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.2097, allocations: 6.438 kB / 445.1 MB, free: 53.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.875e-05/0.2098, allocations: 9.797 kB / 445.1 MB, free: 53.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.2098, allocations: 3.156 kB / 445.1 MB, free: 53.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.2098, allocations: 6.406 kB / 445.1 MB, free: 53.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.75e-05/0.2099, allocations: 127.8 kB / 445.3 MB, free: 53.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2099, allocations: 2.906 kB / 445.3 MB, free: 53.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009373/0.2108, allocations: 357.1 kB / 445.6 MB, free: 53.49 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.001402/0.2122, allocations: 1.62 MB / 447.2 MB, free: 52.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006373/0.2129, allocations: 0.7612 MB / 448 MB, free: 52.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2129, allocations: 0 / 448 MB, free: 52.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002452/0.2131, allocations: 439.3 kB / 448.4 MB, free: 52.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.2133, allocations: 16.12 kB / 448.4 MB, free: 52.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/0.2158, allocations: 3.957 MB / 452.4 MB, free: 50.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.448e-05/0.2159, allocations: 142.3 kB / 452.5 MB, free: 50.33 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.653e-05/0.2159, allocations: 0 / 452.5 MB, free: 50.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.353e-05/0.216, allocations: 50.23 kB / 452.6 MB, free: 50.3 MB / 410.7 MB Notification: Performance of SimCode: time 9.52e-07/0.216, allocations: 0 / 452.6 MB, free: 50.3 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.9314233399927616] Failed to read output from testmodel.py, exit status != 0: 0.2376175345852971 0.245879426 0.233700029 Calling exit ...