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.0008015/0.0008015, 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.001015/0.001015, 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.9176/0.9176, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.2359/0.2359, allocations: 29.41 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 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 1.352e-06/1.352e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.541e-05/1.676e-05, allocations: 2.281 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.002637/0.002654, allocations: 2.199 MB / 432.4 MB, free: 11.37 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002283/0.004938, allocations: 1.906 MB / 434.3 MB, free: 9.449 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.859e-05/0.004996, allocations: 0 / 434.3 MB, free: 9.449 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.005134, allocations: 7.922 kB / 434.3 MB, free: 9.441 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.202e-05/0.005216, allocations: 31.83 kB / 434.4 MB, free: 9.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001842/0.007058, allocations: 0.9727 MB / 435.3 MB, free: 8.438 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.00717, allocations: 79.62 kB / 435.4 MB, free: 8.359 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.206e-05/0.007212, allocations: 4.188 kB / 435.4 MB, free: 8.355 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.00734, allocations: 43.89 kB / 435.5 MB, free: 8.312 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.3e-05/0.007413, allocations: 47.86 kB / 435.5 MB, free: 8.266 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.007425, allocations: 0 / 435.5 MB, free: 8.266 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002093/0.009518, allocations: 1.913 MB / 437.4 MB, free: 6.348 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.569e-05/0.009584, allocations: 39.86 kB / 437.5 MB, free: 6.309 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.577e-05/0.009629, allocations: 27.86 kB / 437.5 MB, free: 6.281 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001643/0.01127, allocations: 1.535 MB / 439 MB, free: 4.742 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.01128, allocations: 0 / 439 MB, free: 4.742 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.01128, allocations: 0 / 439 MB, free: 4.742 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.01128, allocations: 0 / 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.0008868/0.01217, allocations: 0.5369 MB / 439.6 MB, free: 4.168 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.01221, allocations: 15.98 kB / 439.6 MB, free: 4.152 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.448e-05/0.01225, allocations: 42.73 kB / 439.6 MB, free: 4.102 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.01229, allocations: 28.75 kB / 439.6 MB, free: 4.074 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.01244, allocations: 157.4 kB / 439.8 MB, free: 3.895 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.01245, allocations: 4.125 kB / 439.8 MB, free: 3.891 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.01246, allocations: 0 / 439.8 MB, free: 3.891 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.01269, allocations: 224.3 kB / 440 MB, free: 3.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.0127, allocations: 0 / 440 MB, free: 3.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.01271, allocations: 0 / 440 MB, free: 3.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.01271, allocations: 3.984 kB / 440 MB, free: 3.656 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.01284, allocations: 197.9 kB / 440.2 MB, free: 3.457 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001526/0.01299, allocations: 177.2 kB / 440.4 MB, free: 3.242 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.01315, allocations: 212.5 kB / 440.6 MB, free: 3.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.01327, allocations: 194.8 kB / 440.8 MB, free: 2.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.705e-06/0.01328, allocations: 0 / 440.8 MB, free: 2.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.0133, allocations: 34.56 kB / 440.8 MB, free: 2.777 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 6.91e-07/0.0133, allocations: 0 / 440.8 MB, free: 2.777 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.0005927/0.0139, allocations: 0.7052 MB / 441.5 MB, free: 2.047 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.01395, allocations: 105.1 kB / 441.6 MB, free: 1.926 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.01405, allocations: 170.3 kB / 441.8 MB, free: 1.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.01406, allocations: 25.7 kB / 441.8 MB, free: 1.719 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.718e-05/0.01411, allocations: 108.8 kB / 441.9 MB, free: 1.609 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.461e-05/0.01419, allocations: 134.8 kB / 442.1 MB, free: 1.477 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.01422, allocations: 37.73 kB / 442.1 MB, free: 1.434 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.836e-05/0.01431, allocations: 334.8 kB / 442.4 MB, free: 1.098 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.01443, allocations: 197.6 kB / 442.6 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.01454, allocations: 185.6 kB / 442.8 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.01481, allocations: 449.2 kB / 443.2 MB, free: 264 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.01481, allocations: 3.938 kB / 443.2 MB, free: 260 kB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.1852/0.2, allocations: 460.8 kB / 443.7 MB, free: 53.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.268e-05/0.2001, allocations: 88.66 kB / 443.8 MB, free: 53.53 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.2001, allocations: 0 / 443.8 MB, free: 53.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.2001, allocations: 0 / 443.8 MB, free: 53.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.392e-06/0.2001, allocations: 0 / 443.8 MB, free: 53.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.2001, allocations: 6.984 kB / 443.8 MB, free: 53.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.267e-05/0.2002, allocations: 18.7 kB / 443.8 MB, free: 53.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.2002, allocations: 10.06 kB / 443.8 MB, free: 53.53 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.0001229/0.2003, allocations: 235.6 kB / 444 MB, free: 53.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.2003, allocations: 25.66 kB / 444.1 MB, free: 53.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.963e-05/0.2004, allocations: 18.22 kB / 444.1 MB, free: 53.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2004, allocations: 0 / 444.1 MB, free: 53.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2004, allocations: 3.281 kB / 444.1 MB, free: 53.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2004, allocations: 0 / 444.1 MB, free: 53.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.717e-05/0.2005, allocations: 198.1 kB / 444.3 MB, free: 53.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2005, allocations: 0 / 444.3 MB, free: 53.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.31e-07/0.2005, allocations: 0 / 444.3 MB, free: 53.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.2005, allocations: 0 / 444.3 MB, free: 53.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.2005, allocations: 6.5 kB / 444.3 MB, free: 53.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.2005, allocations: 5.031 kB / 444.3 MB, free: 53.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2005, allocations: 1.406 kB / 444.3 MB, free: 53.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005205/0.201, allocations: 0.7793 MB / 445.1 MB, free: 53.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.403e-05/0.201, allocations: 26.09 kB / 445.1 MB, free: 53.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.2011, allocations: 9.734 kB / 445.1 MB, free: 53.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.093e-05/0.2011, allocations: 6.938 kB / 445.1 MB, free: 53.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.061e-05/0.2011, allocations: 8.938 kB / 445.1 MB, free: 53.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.2011, allocations: 9.562 kB / 445.1 MB, free: 53.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.598e-05/0.2012, allocations: 124.1 kB / 445.3 MB, free: 52.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2012, allocations: 3.188 kB / 445.3 MB, free: 52.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007551/0.2019, allocations: 355.4 kB / 445.6 MB, free: 52.99 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.001133/0.2031, allocations: 1.61 MB / 447.2 MB, free: 52.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004529/0.2035, allocations: 0.7555 MB / 448 MB, free: 52.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2035, allocations: 0 / 448 MB, free: 52.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002114/0.2037, allocations: 441 kB / 448.4 MB, free: 52.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.2039, allocations: 22.47 kB / 448.4 MB, free: 52.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.206, allocations: 3.956 MB / 452.4 MB, free: 50.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.198e-05/0.206, allocations: 139.3 kB / 452.5 MB, free: 50.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.2e-05/0.2061, allocations: 3.281 kB / 452.5 MB, free: 50.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/0.2061, allocations: 50.86 kB / 452.6 MB, free: 50.14 MB / 410.7 MB Notification: Performance of SimCode: time 8.81e-07/0.2061, allocations: 0 / 452.6 MB, free: 50.14 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.0277227237820625] Failed to read output from testmodel.py, exit status != 0: 0.22189232986420393 0.22858492299999994 0.21580347399999994 Calling exit ...