Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.0007895/0.0007895, 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.0008615/0.0008615, 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.8799/0.8799, 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.2305/0.2305, 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 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_matrixTrDat3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.836e-06/2.836e-06, allocations: 0 / 430.2 MB, free: 13.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.751e-05, allocations: 8.672 kB / 430.2 MB, free: 13.56 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.003507/0.003535, allocations: 2.188 MB / 432.4 MB, free: 11.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006956/0.01049, allocations: 1.905 MB / 434.3 MB, free: 9.438 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.0106, allocations: 3.938 kB / 434.3 MB, free: 9.434 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.01076, allocations: 15.91 kB / 434.3 MB, free: 9.418 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.944e-05/0.01086, allocations: 31.83 kB / 434.4 MB, free: 9.387 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002125/0.01298, allocations: 0.97 MB / 435.3 MB, free: 8.414 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.01311, allocations: 79.62 kB / 435.4 MB, free: 8.336 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.59e-05/0.01317, allocations: 4.125 kB / 435.4 MB, free: 8.332 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.01333, allocations: 47.88 kB / 435.5 MB, free: 8.285 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.371e-05/0.01342, allocations: 47.88 kB / 435.5 MB, free: 8.238 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.01343, allocations: 4 kB / 435.5 MB, free: 8.234 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002444/0.01588, allocations: 1.902 MB / 437.4 MB, free: 6.328 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.133e-05/0.01595, allocations: 47.84 kB / 437.5 MB, free: 6.281 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.152e-05/0.016, allocations: 27.86 kB / 437.5 MB, free: 6.254 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.01752, allocations: 1.531 MB / 439 MB, free: 4.719 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.01753, allocations: 0 / 439 MB, free: 4.719 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.01753, allocations: 4 kB / 439 MB, free: 4.715 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.01753, allocations: 0 / 439 MB, free: 4.715 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.0006657/0.0182, allocations: 0.5408 MB / 439.6 MB, free: 4.137 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.01825, allocations: 11.98 kB / 439.6 MB, free: 4.125 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.445e-05/0.01829, allocations: 50.67 kB / 439.6 MB, free: 4.066 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.848e-05/0.01834, allocations: 20.75 kB / 439.7 MB, free: 4.047 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.01856, allocations: 145.4 kB / 439.8 MB, free: 3.879 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.01857, allocations: 8.125 kB / 439.8 MB, free: 3.871 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.01859, allocations: 4 kB / 439.8 MB, free: 3.867 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.01889, allocations: 228.3 kB / 440 MB, free: 3.633 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.0189, allocations: 4 kB / 440 MB, free: 3.629 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.01891, allocations: 0 / 440 MB, free: 3.629 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.01891, allocations: 0 / 440 MB, free: 3.629 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.01909, allocations: 186 kB / 440.2 MB, free: 3.441 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001797/0.01927, allocations: 177.2 kB / 440.4 MB, free: 3.227 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000317/0.01959, allocations: 212.4 kB / 440.6 MB, free: 3.004 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001649/0.01975, allocations: 202.8 kB / 440.8 MB, free: 2.797 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.01977, allocations: 0 / 440.8 MB, free: 2.797 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.01979, allocations: 30.56 kB / 440.8 MB, free: 2.758 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.483e-06/0.01979, allocations: 0 / 440.8 MB, free: 2.758 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.000711/0.0205, allocations: 0.7014 MB / 441.5 MB, free: 2.031 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/0.02057, allocations: 113.1 kB / 441.6 MB, free: 1.902 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.02071, allocations: 170.2 kB / 441.8 MB, free: 1.727 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.02073, allocations: 25.7 kB / 441.8 MB, free: 1.695 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.763e-05/0.02079, allocations: 108.8 kB / 441.9 MB, free: 1.586 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.02089, allocations: 130.8 kB / 442.1 MB, free: 1.457 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.124e-05/0.02095, allocations: 37.7 kB / 442.1 MB, free: 1.414 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.02109, allocations: 334.8 kB / 442.4 MB, free: 1.078 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.02128, allocations: 189.6 kB / 442.6 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.02143, allocations: 193.6 kB / 442.8 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/0.0218, allocations: 445.2 kB / 443.2 MB, free: 248 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.0218, allocations: 7.969 kB / 443.3 MB, free: 240 kB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.2073/0.2291, allocations: 456.9 kB / 443.7 MB, free: 54.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.911e-05/0.2292, allocations: 86.89 kB / 443.8 MB, free: 54.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.2292, allocations: 0 / 443.8 MB, free: 54.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.2292, allocations: 0 / 443.8 MB, free: 54.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.483e-06/0.2292, allocations: 9.141 kB / 443.8 MB, free: 54.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.2293, allocations: 4.703 kB / 443.8 MB, free: 54.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.388e-05/0.2293, allocations: 17.86 kB / 443.8 MB, free: 54.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.2294, allocations: 10.03 kB / 443.8 MB, free: 54.04 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.0001441/0.2295, allocations: 232 kB / 444 MB, free: 53.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.2295, allocations: 32.55 kB / 444.1 MB, free: 53.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.065e-05/0.2296, allocations: 15.34 kB / 444.1 MB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2296, allocations: 3.422 kB / 444.1 MB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2296, allocations: 0 / 444.1 MB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.2296, allocations: 0 / 444.1 MB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.2297, allocations: 194.5 kB / 444.3 MB, free: 53.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2297, allocations: 0 / 444.3 MB, free: 53.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.31e-07/0.2297, allocations: 0 / 444.3 MB, free: 53.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.2297, allocations: 3.375 kB / 444.3 MB, free: 53.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.2297, allocations: 7.188 kB / 444.3 MB, free: 53.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2297, allocations: 3.344 kB / 444.3 MB, free: 53.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2297, allocations: 1.781 kB / 444.3 MB, free: 53.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005918/0.2303, allocations: 0.7798 MB / 445.1 MB, free: 53.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.957e-05/0.2303, allocations: 26.28 kB / 445.1 MB, free: 53.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.2303, allocations: 6.031 kB / 445.1 MB, free: 53.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.575e-05/0.2304, allocations: 8.156 kB / 445.1 MB, free: 53.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.458e-05/0.2304, allocations: 6.906 kB / 445.1 MB, free: 53.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.2304, allocations: 9.281 kB / 445.1 MB, free: 53.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.865e-05/0.2305, allocations: 129.7 kB / 445.3 MB, free: 53.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2305, allocations: 0 / 445.3 MB, free: 53.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000986/0.2314, allocations: 357.2 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.001494/0.2329, allocations: 1.622 MB / 447.2 MB, free: 52.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006364/0.2336, allocations: 0.7584 MB / 448 MB, free: 52.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2336, allocations: 0 / 448 MB, free: 52.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002564/0.2338, allocations: 438.9 kB / 448.4 MB, free: 52.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.2341, allocations: 22.72 kB / 448.4 MB, free: 52.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/0.2367, allocations: 3.951 MB / 452.4 MB, free: 50.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.63e-05/0.2367, allocations: 146.3 kB / 452.5 MB, free: 50.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.754e-05/0.2368, allocations: 1.594 kB / 452.5 MB, free: 50.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.507e-05/0.2368, allocations: 47.25 kB / 452.6 MB, free: 50.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.222e-06/0.2368, allocations: 3.344 kB / 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: 2.015757695771754] Failed to read output from testmodel.py, exit status != 0: 0.2615179903805256 0.273002126 0.252709617 Calling exit ...