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.0008007/0.0008007, allocations: 91.67 kB / 20.68 MB, free: 3.867 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.0008071/0.0008071, allocations: 166 kB / 23.95 MB, free: 0.5938 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.9192/0.9192, 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 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.215/0.215, allocations: 29.4 MB / 290.1 MB, free: 2.445 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.423e-06/1.423e-06, allocations: 0 / 430.2 MB, free: 13.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.191e-05/1.334e-05, allocations: 2.281 kB / 430.2 MB, free: 13.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.002097/0.00211, allocations: 2.195 MB / 432.4 MB, free: 11.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.003947, allocations: 1.906 MB / 434.3 MB, free: 9.434 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.005e-05/0.003987, allocations: 4 kB / 434.3 MB, free: 9.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.0041, allocations: 7.922 kB / 434.3 MB, free: 9.422 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.739e-05/0.004167, allocations: 31.83 kB / 434.4 MB, free: 9.391 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.005498, allocations: 0.9724 MB / 435.3 MB, free: 8.418 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.435e-05/0.005592, allocations: 79.62 kB / 435.4 MB, free: 8.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.705e-05/0.005629, allocations: 4.188 kB / 435.4 MB, free: 8.336 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.005736, allocations: 43.88 kB / 435.5 MB, free: 8.293 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.232e-05/0.005798, allocations: 47.88 kB / 435.5 MB, free: 8.246 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.005808, allocations: 0 / 435.5 MB, free: 8.246 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/0.007408, allocations: 1.909 MB / 437.4 MB, free: 6.332 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.527e-05/0.007453, allocations: 43.84 kB / 437.5 MB, free: 6.289 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.281e-05/0.007486, allocations: 31.86 kB / 437.5 MB, free: 6.258 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.008596, allocations: 1.535 MB / 439 MB, free: 4.719 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.008598, allocations: 0 / 439 MB, free: 4.719 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.008599, allocations: 0 / 439 MB, free: 4.719 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.008604, allocations: 0 / 439 MB, free: 4.719 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.0004887/0.009092, allocations: 0.5408 MB / 439.6 MB, free: 4.141 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.009133, allocations: 11.98 kB / 439.6 MB, free: 4.129 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.912e-05/0.009172, allocations: 46.73 kB / 439.6 MB, free: 4.074 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.265e-05/0.009205, allocations: 24.75 kB / 439.7 MB, free: 4.051 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.009345, allocations: 149.4 kB / 439.8 MB, free: 3.879 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.00936, allocations: 8.109 kB / 439.8 MB, free: 3.871 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.009368, allocations: 0 / 439.8 MB, free: 3.871 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.009569, allocations: 228.3 kB / 440 MB, free: 3.637 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.009576, allocations: 0 / 440 MB, free: 3.637 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.009585, allocations: 0 / 440 MB, free: 3.637 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.009589, allocations: 3.938 kB / 440 MB, free: 3.633 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.009707, allocations: 194 kB / 440.2 MB, free: 3.438 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001198/0.009827, allocations: 177.2 kB / 440.4 MB, free: 3.223 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.009965, allocations: 212.5 kB / 440.6 MB, free: 3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.01008, allocations: 194.8 kB / 440.8 MB, free: 2.801 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.35e-06/0.01008, allocations: 0 / 440.8 MB, free: 2.801 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.0101, allocations: 34.56 kB / 440.8 MB, free: 2.758 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 5.51e-07/0.0101, allocations: 0 / 440.8 MB, free: 2.758 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.0005123/0.01062, allocations: 0.7013 MB / 441.5 MB, free: 2.031 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.01066, allocations: 109.1 kB / 441.6 MB, free: 1.906 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.403e-05/0.01075, allocations: 170.3 kB / 441.8 MB, free: 1.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.01076, allocations: 29.73 kB / 441.8 MB, free: 1.695 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.152e-05/0.01081, allocations: 108.8 kB / 441.9 MB, free: 1.586 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.758e-05/0.01087, allocations: 130.8 kB / 442.1 MB, free: 1.457 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.558e-05/0.01091, allocations: 33.7 kB / 442.1 MB, free: 1.418 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.091e-05/0.01099, allocations: 334.8 kB / 442.4 MB, free: 1.082 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.01111, allocations: 185.6 kB / 442.6 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.01122, allocations: 193.6 kB / 442.8 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002556/0.01147, allocations: 453.2 kB / 443.2 MB, free: 248 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01148, allocations: 3.938 kB / 443.2 MB, free: 244 kB / 410.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.1667/0.1782, allocations: 460.9 kB / 443.7 MB, free: 54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.223e-05/0.1783, allocations: 88.41 kB / 443.8 MB, free: 53.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1783, allocations: 0 / 443.8 MB, free: 53.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.1783, allocations: 0 / 443.8 MB, free: 53.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.81e-07/0.1783, allocations: 0 / 443.8 MB, free: 53.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1783, allocations: 10.56 kB / 443.8 MB, free: 53.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.016e-05/0.1784, allocations: 15.61 kB / 443.8 MB, free: 53.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.1784, allocations: 11.22 kB / 443.8 MB, free: 53.97 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.0001112/0.1785, allocations: 236.7 kB / 444.1 MB, free: 53.83 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.1786, allocations: 26.38 kB / 444.1 MB, free: 53.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.681e-05/0.1786, allocations: 11.72 kB / 444.1 MB, free: 53.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1786, allocations: 0.5 kB / 444.1 MB, free: 53.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1786, allocations: 7.875 kB / 444.1 MB, free: 53.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1786, allocations: 3.281 kB / 444.1 MB, free: 53.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.589e-05/0.1787, allocations: 193.2 kB / 444.3 MB, free: 53.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1787, allocations: 0 / 444.3 MB, free: 53.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.1787, allocations: 0 / 444.3 MB, free: 53.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.1787, allocations: 3.422 kB / 444.3 MB, free: 53.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.1787, allocations: 10.47 kB / 444.3 MB, free: 53.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1787, allocations: 3.094 kB / 444.3 MB, free: 53.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1787, allocations: 2.688 kB / 444.3 MB, free: 53.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005174/0.1792, allocations: 0.777 MB / 445.1 MB, free: 53.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.69e-05/0.1792, allocations: 26.88 kB / 445.1 MB, free: 53.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.1792, allocations: 6.125 kB / 445.1 MB, free: 53.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.943e-05/0.1793, allocations: 5.969 kB / 445.1 MB, free: 53.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.941e-05/0.1793, allocations: 6.844 kB / 445.1 MB, free: 53.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.1793, allocations: 9.188 kB / 445.1 MB, free: 53.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.573e-05/0.1793, allocations: 124.4 kB / 445.3 MB, free: 53.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1793, allocations: 3.406 kB / 445.3 MB, free: 53.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008334/0.1802, allocations: 358.1 kB / 445.6 MB, free: 53.43 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.001174/0.1814, allocations: 1.62 MB / 447.2 MB, free: 52.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004943/0.1818, allocations: 0.7567 MB / 448 MB, free: 52.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1818, allocations: 0 / 448 MB, free: 52.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002458/0.1821, allocations: 439.8 kB / 448.4 MB, free: 52.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000192/0.1823, allocations: 22.94 kB / 448.4 MB, free: 52.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.1847, allocations: 3.945 MB / 452.4 MB, free: 50.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.372e-05/0.1847, allocations: 150.9 kB / 452.5 MB, free: 50.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.01e-05/0.1847, allocations: 3.375 kB / 452.5 MB, free: 50.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.1848, allocations: 51.48 kB / 452.6 MB, free: 50.26 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/0.1848, allocations: 0 / 452.6 MB, free: 50.26 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.9260939052328467] Failed to read output from testmodel.py, exit status != 0: 0.20503312442451715 0.21271378600000002 0.202509973 Calling exit ...