Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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.0008183/0.0008183, 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.000819/0.000819, allocations: 170 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.8984/0.8984, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2175/0.2175, allocations: 29.41 MB / 290.1 MB, free: 2.453 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_matrixTrDat0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 430.2 MB, free: 13.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.701e-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_matrixTrDat0): time 0.002653/0.00268, allocations: 2.188 MB / 432.4 MB, free: 11.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002151/0.004831, allocations: 1.906 MB / 434.3 MB, free: 9.449 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.212e-05/0.004893, allocations: 0 / 434.3 MB, free: 9.449 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000194/0.005087, allocations: 15.91 kB / 434.3 MB, free: 9.434 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.996e-05/0.005167, allocations: 35.77 kB / 434.4 MB, free: 9.398 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001687/0.006854, allocations: 0.9724 MB / 435.3 MB, free: 8.426 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.006965, allocations: 75.64 kB / 435.4 MB, free: 8.352 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.591e-05/0.007001, allocations: 192 / 435.4 MB, free: 8.352 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001158/0.007117, allocations: 47.88 kB / 435.5 MB, free: 8.305 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.92e-05/0.007186, allocations: 39.89 kB / 435.5 MB, free: 8.266 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.007196, allocations: 4 kB / 435.5 MB, free: 8.262 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002047/0.009243, allocations: 1.902 MB / 437.4 MB, free: 6.355 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.924e-05/0.009292, allocations: 19.92 kB / 437.4 MB, free: 6.336 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.378e-05/0.009326, allocations: 11.94 kB / 437.4 MB, free: 6.324 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.01071, allocations: 1.465 MB / 438.9 MB, free: 4.855 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.01071, allocations: 0 / 438.9 MB, free: 4.855 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.01071, allocations: 4 kB / 438.9 MB, free: 4.852 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.01072, allocations: 7.938 kB / 438.9 MB, free: 4.844 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004317/0.01115, allocations: 446.5 kB / 439.4 MB, free: 4.371 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.01119, allocations: 11.98 kB / 439.4 MB, free: 4.359 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.388e-05/0.01121, allocations: 34.75 kB / 439.4 MB, free: 4.316 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.188e-05/0.01124, allocations: 8.891 kB / 439.4 MB, free: 4.309 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.01137, allocations: 129.5 kB / 439.5 MB, free: 4.156 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-06/0.01138, allocations: 0 / 439.5 MB, free: 4.156 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.184e-06/0.01139, allocations: 0 / 439.5 MB, free: 4.156 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.01151, allocations: 91.38 kB / 439.6 MB, free: 4.055 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.01151, allocations: 0 / 439.6 MB, free: 4.055 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.01152, allocations: 8 kB / 439.6 MB, free: 4.047 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.01153, allocations: 0 / 439.6 MB, free: 4.047 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.79e-05/0.01157, allocations: 65.61 kB / 439.7 MB, free: 3.977 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001053/0.01168, allocations: 144.6 kB / 439.8 MB, free: 3.793 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.571e-05/0.01175, allocations: 76.27 kB / 439.9 MB, free: 3.703 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.081e-05/0.01179, allocations: 66.56 kB / 440 MB, free: 3.629 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.631e-06/0.01179, allocations: 0 / 440 MB, free: 3.629 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.01181, allocations: 34.56 kB / 440 MB, free: 3.586 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.422e-06/0.01181, allocations: 3.984 kB / 440 MB, free: 3.582 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002247/0.01204, allocations: 242.6 kB / 440.2 MB, free: 3.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.01207, allocations: 89.14 kB / 440.3 MB, free: 3.215 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.064e-05/0.01215, allocations: 125.8 kB / 440.5 MB, free: 3.082 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.01216, allocations: 25.7 kB / 440.5 MB, free: 3.051 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.548e-05/0.01219, allocations: 96.12 kB / 440.6 MB, free: 2.953 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.01223, allocations: 23.75 kB / 440.6 MB, free: 2.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.01226, allocations: 21.72 kB / 440.6 MB, free: 2.902 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.661e-05/0.01235, allocations: 322.8 kB / 440.9 MB, free: 2.578 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.026e-05/0.0124, allocations: 69.67 kB / 441 MB, free: 2.504 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.1e-05/0.01244, allocations: 57.69 kB / 441.1 MB, free: 2.441 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.01255, allocations: 144.4 kB / 441.2 MB, free: 2.285 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01255, allocations: 0 / 441.2 MB, free: 2.285 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001341/0.01268, allocations: 180.9 kB / 441.4 MB, free: 2.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.196e-05/0.01272, allocations: 45.69 kB / 441.4 MB, free: 2.039 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.01273, allocations: 0 / 441.4 MB, free: 2.039 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.01274, allocations: 0 / 441.4 MB, free: 2.039 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.733e-06/0.01275, allocations: 0 / 441.4 MB, free: 2.039 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.01275, allocations: 7.938 kB / 441.4 MB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.614e-05/0.01279, allocations: 0 / 441.4 MB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.01281, allocations: 4 kB / 441.4 MB, free: 2.027 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.000101/0.01291, allocations: 159.5 kB / 441.6 MB, free: 1.855 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.01292, allocations: 11.95 kB / 441.6 MB, free: 1.844 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.5e-05/0.01294, allocations: 8.469 kB / 441.6 MB, free: 1.836 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.01294, allocations: 4 kB / 441.6 MB, free: 1.832 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.01295, allocations: 0 / 441.6 MB, free: 1.832 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.01295, allocations: 0 / 441.6 MB, free: 1.832 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.048e-05/0.01303, allocations: 136.7 kB / 441.7 MB, free: 1.656 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.01303, allocations: 0 / 441.7 MB, free: 1.656 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.61e-07/0.01303, allocations: 0 / 441.7 MB, free: 1.656 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.01303, allocations: 4 kB / 441.8 MB, free: 1.652 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.01304, allocations: 0 / 441.8 MB, free: 1.652 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.01304, allocations: 0 / 441.8 MB, free: 1.652 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01304, allocations: 0 / 441.8 MB, free: 1.652 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.01323, allocations: 264.3 kB / 442 MB, free: 1.363 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.038e-05/0.01324, allocations: 15.88 kB / 442 MB, free: 1.348 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.01326, allocations: 0 / 442 MB, free: 1.348 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.452e-05/0.01327, allocations: 4 kB / 442 MB, free: 1.344 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.333e-05/0.01328, allocations: 0 / 442 MB, free: 1.344 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.01329, allocations: 4 kB / 442 MB, free: 1.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.791e-05/0.01333, allocations: 101.6 kB / 442.1 MB, free: 1.242 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01333, allocations: 0 / 442.1 MB, free: 1.242 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004614/0.01379, allocations: 315.4 kB / 442.4 MB, free: 0.9336 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.1549/0.1687, allocations: 1.091 MB / 443.5 MB, free: 53.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000264/0.169, allocations: 245.3 kB / 443.8 MB, free: 53.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.169, allocations: 0 / 443.8 MB, free: 53.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.746e-05/0.169, allocations: 155.2 kB / 443.9 MB, free: 53.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.1693, allocations: 7.969 kB / 443.9 MB, free: 53.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.1708, allocations: 1.892 MB / 445.8 MB, free: 52.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.78e-05/0.1709, allocations: 83.77 kB / 445.9 MB, free: 52.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.662e-05/0.1709, allocations: 0 / 445.9 MB, free: 52.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.1709, allocations: 19.44 kB / 445.9 MB, free: 52.27 MB / 410.7 MB Notification: Performance of SimCode: time 1.403e-06/0.1709, allocations: 1.562 kB / 445.9 MB, free: 52.27 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.9261826369911432] Failed to read output from testmodel.py, exit status != 0: 0.18911421950906515 0.196990296 0.184771385 Calling exit ...