Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.0007479/0.0007479, 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.0007607/0.0007607, 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.8953/0.8953, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.2434/0.2434, 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 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_matrixTrDat2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.4e-05/1.508e-05, allocations: 2.281 kB / 430.2 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.002445/0.00246, allocations: 2.201 MB / 432.4 MB, free: 11.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002242/0.004702, allocations: 1.91 MB / 434.3 MB, free: 9.438 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.349e-05/0.004765, allocations: 0 / 434.3 MB, free: 9.438 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.004903, allocations: 7.922 kB / 434.3 MB, free: 9.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.46e-05/0.004988, allocations: 27.83 kB / 434.4 MB, free: 9.402 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001883/0.006871, allocations: 0.9768 MB / 435.3 MB, free: 8.426 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.006984, allocations: 79.62 kB / 435.4 MB, free: 8.348 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.898e-05/0.007023, allocations: 4.188 kB / 435.4 MB, free: 8.344 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.007144, allocations: 39.89 kB / 435.5 MB, free: 8.305 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.606e-05/0.00721, allocations: 43.88 kB / 435.5 MB, free: 8.262 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.00722, allocations: 7.938 kB / 435.5 MB, free: 8.254 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002156/0.009376, allocations: 1.898 MB / 437.4 MB, free: 6.352 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.098e-05/0.009427, allocations: 39.84 kB / 437.4 MB, free: 6.312 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.009463, allocations: 19.94 kB / 437.5 MB, free: 6.293 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.01093, allocations: 1.504 MB / 439 MB, free: 4.785 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.01093, allocations: 4 kB / 439 MB, free: 4.781 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.01093, allocations: 0 / 439 MB, free: 4.781 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.01093, allocations: 0 / 439 MB, free: 4.781 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005236/0.01146, allocations: 0.4942 MB / 439.5 MB, free: 4.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.0115, allocations: 15.98 kB / 439.5 MB, free: 4.234 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.929e-05/0.01152, allocations: 38.75 kB / 439.5 MB, free: 4.188 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/0.01155, allocations: 12.84 kB / 439.5 MB, free: 4.176 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.01169, allocations: 157.3 kB / 439.7 MB, free: 3.996 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.0117, allocations: 8.109 kB / 439.7 MB, free: 3.988 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.01171, allocations: 4 kB / 439.7 MB, free: 3.984 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.01187, allocations: 158.4 kB / 439.9 MB, free: 3.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.01187, allocations: 0 / 439.9 MB, free: 3.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.01188, allocations: 0 / 439.9 MB, free: 3.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.01188, allocations: 0 / 439.9 MB, free: 3.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.811e-05/0.01197, allocations: 133.6 kB / 440 MB, free: 3.684 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001232/0.0121, allocations: 152.6 kB / 440.1 MB, free: 3.492 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.0122, allocations: 152.1 kB / 440.3 MB, free: 3.328 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.939e-05/0.01228, allocations: 134.5 kB / 440.4 MB, free: 3.188 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.011e-06/0.01229, allocations: 0 / 440.4 MB, free: 3.188 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.0123, allocations: 30.56 kB / 440.4 MB, free: 3.148 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.022e-06/0.0123, allocations: 0 / 440.4 MB, free: 3.148 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003806/0.01268, allocations: 474.8 kB / 440.9 MB, free: 2.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.01272, allocations: 93.09 kB / 441 MB, free: 2.551 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.328e-05/0.01281, allocations: 156.3 kB / 441.1 MB, free: 2.391 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.01282, allocations: 25.7 kB / 441.2 MB, free: 2.359 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.883e-05/0.01286, allocations: 100.6 kB / 441.3 MB, free: 2.258 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.999e-05/0.01291, allocations: 75.3 kB / 441.3 MB, free: 2.184 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.01294, allocations: 29.7 kB / 441.4 MB, free: 2.148 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.545e-05/0.01301, allocations: 334.9 kB / 441.7 MB, free: 1.812 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.289e-05/0.0131, allocations: 129.6 kB / 441.8 MB, free: 1.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.429e-05/0.01317, allocations: 129.6 kB / 442 MB, free: 1.547 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.01335, allocations: 297.6 kB / 442.2 MB, free: 1.242 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01335, allocations: 3.938 kB / 442.3 MB, free: 1.238 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002134/0.01357, allocations: 316.8 kB / 442.6 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.378e-05/0.01361, allocations: 72.62 kB / 442.6 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.01361, allocations: 0 / 442.6 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.01362, allocations: 3.938 kB / 442.6 MB, free: 0.832 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.523e-06/0.01362, allocations: 7.922 kB / 442.6 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.01363, allocations: 4.062 kB / 442.6 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.372e-05/0.01367, allocations: 15.89 kB / 442.7 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.01369, allocations: 7.984 kB / 442.7 MB, free: 0.7969 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 9.911e-05/0.01379, allocations: 195.4 kB / 442.9 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.0138, allocations: 15.91 kB / 442.9 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.325e-05/0.01382, allocations: 17.27 kB / 442.9 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.01382, allocations: 0 / 442.9 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.01382, allocations: 4 kB / 442.9 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.01382, allocations: 0 / 442.9 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.173e-05/0.01391, allocations: 164.5 kB / 443.1 MB, free: 356 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.01391, allocations: 4 kB / 443.1 MB, free: 352 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.01391, allocations: 0 / 443.1 MB, free: 352 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.01391, allocations: 4 kB / 443.1 MB, free: 348 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.01392, allocations: 4 kB / 443.1 MB, free: 344 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.01392, allocations: 0 / 443.1 MB, free: 344 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.01392, allocations: 0 / 443.1 MB, free: 344 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1576/0.1715, allocations: 0.5135 MB / 443.6 MB, free: 54.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.872e-05/0.1715, allocations: 14.19 kB / 443.6 MB, free: 54.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.1715, allocations: 6.969 kB / 443.6 MB, free: 54.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.249e-05/0.1716, allocations: 6.484 kB / 443.6 MB, free: 54.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.122e-05/0.1716, allocations: 5.281 kB / 443.6 MB, free: 54.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.1716, allocations: 8.25 kB / 443.6 MB, free: 54.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.516e-05/0.1716, allocations: 111.9 kB / 443.7 MB, free: 53.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1716, allocations: 0 / 443.7 MB, free: 53.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007085/0.1723, allocations: 337.8 kB / 444.1 MB, free: 53.95 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.001006/0.1734, allocations: 1.364 MB / 445.4 MB, free: 53.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003109/0.1737, allocations: 0.4942 MB / 445.9 MB, free: 53.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1737, allocations: 0 / 445.9 MB, free: 53.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.1738, allocations: 296.7 kB / 446.2 MB, free: 53.08 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.174, allocations: 13.5 kB / 446.2 MB, free: 53.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.1755, allocations: 2.962 MB / 449.2 MB, free: 51.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.866e-05/0.1756, allocations: 112.6 kB / 449.3 MB, free: 51.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.498e-05/0.1756, allocations: 5.125 kB / 449.3 MB, free: 51.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.1756, allocations: 36.58 kB / 449.3 MB, free: 51.36 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1756, allocations: 2.531 kB / 449.3 MB, free: 51.36 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.9061164846643806] Failed to read output from testmodel.py, exit status != 0: 0.19422906637191772 0.20077202600000002 0.188461693 Calling exit ...