Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.0008107/0.0008107, 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.000825/0.000825, 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.9012/0.9012, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2212/0.2212, allocations: 29.4 MB / 290.1 MB, free: 2.422 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_matrixTrDat0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 430.2 MB, free: 13.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.269e-05, allocations: 8.391 kB / 430.2 MB, free: 13.56 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.002475/0.002498, allocations: 2.18 MB / 432.4 MB, free: 11.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002182/0.00468, allocations: 1.91 MB / 434.3 MB, free: 9.438 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.389e-05/0.004733, allocations: 0 / 434.3 MB, free: 9.438 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.004928, allocations: 11.86 kB / 434.3 MB, free: 9.426 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.876e-05/0.005007, allocations: 31.88 kB / 434.4 MB, free: 9.395 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002048/0.007055, allocations: 0.977 MB / 435.3 MB, free: 8.418 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.007179, allocations: 79.62 kB / 435.4 MB, free: 8.34 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.604e-05/0.007225, allocations: 4.188 kB / 435.4 MB, free: 8.336 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.007371, allocations: 51.81 kB / 435.5 MB, free: 8.285 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.793e-05/0.007448, allocations: 35.89 kB / 435.5 MB, free: 8.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.007459, allocations: 4 kB / 435.5 MB, free: 8.246 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002136/0.009596, allocations: 1.902 MB / 437.4 MB, free: 6.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.82e-05/0.009644, allocations: 23.86 kB / 437.4 MB, free: 6.316 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.712e-05/0.009681, allocations: 7.938 kB / 437.4 MB, free: 6.309 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0015/0.01118, allocations: 1.469 MB / 438.9 MB, free: 4.836 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.01118, allocations: 0 / 438.9 MB, free: 4.836 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.01119, allocations: 0 / 438.9 MB, free: 4.836 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.01119, allocations: 4 kB / 438.9 MB, free: 4.832 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.0005091/0.0117, allocations: 438.5 kB / 439.3 MB, free: 4.367 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.01175, allocations: 23.91 kB / 439.4 MB, free: 4.344 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.626e-05/0.01178, allocations: 30.75 kB / 439.4 MB, free: 4.305 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.01182, allocations: 8.891 kB / 439.4 MB, free: 4.297 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.01195, allocations: 133.4 kB / 439.5 MB, free: 4.141 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.01196, allocations: 0 / 439.5 MB, free: 4.141 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.01197, allocations: 4 kB / 439.5 MB, free: 4.137 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.0121, allocations: 91.38 kB / 439.6 MB, free: 4.035 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.0121, allocations: 0 / 439.6 MB, free: 4.035 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.01211, allocations: 0 / 439.6 MB, free: 4.035 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.01212, allocations: 4 kB / 439.6 MB, free: 4.031 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.855e-05/0.01217, allocations: 65.67 kB / 439.7 MB, free: 3.961 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001201/0.01229, allocations: 144.6 kB / 439.8 MB, free: 3.777 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.94e-05/0.01237, allocations: 76.2 kB / 439.9 MB, free: 3.688 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.802e-05/0.01241, allocations: 74.55 kB / 440 MB, free: 3.605 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/0.01242, allocations: 0 / 440 MB, free: 3.605 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.01244, allocations: 30.56 kB / 440 MB, free: 3.566 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.01245, allocations: 0 / 440 MB, free: 3.566 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002713/0.01272, allocations: 238.7 kB / 440.3 MB, free: 3.309 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.01275, allocations: 81.11 kB / 440.3 MB, free: 3.211 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.945e-05/0.01283, allocations: 133.9 kB / 440.5 MB, free: 3.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.01285, allocations: 25.7 kB / 440.5 MB, free: 3.039 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.01289, allocations: 96.08 kB / 440.6 MB, free: 2.941 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.01292, allocations: 23.73 kB / 440.6 MB, free: 2.918 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.01295, allocations: 21.72 kB / 440.6 MB, free: 2.891 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.425e-05/0.01304, allocations: 326.8 kB / 440.9 MB, free: 2.562 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.868e-05/0.01309, allocations: 61.69 kB / 441 MB, free: 2.496 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.991e-05/0.01313, allocations: 65.67 kB / 441.1 MB, free: 2.426 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.658e-05/0.01322, allocations: 140.4 kB / 441.2 MB, free: 2.273 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.01323, allocations: 0 / 441.2 MB, free: 2.273 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001262/0.01335, allocations: 173 kB / 441.4 MB, free: 2.086 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.189e-05/0.01339, allocations: 49.75 kB / 441.4 MB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.0134, allocations: 0 / 441.4 MB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.01341, allocations: 0 / 441.4 MB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.252e-06/0.01341, allocations: 0 / 441.4 MB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.01342, allocations: 7.875 kB / 441.4 MB, free: 2.023 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.67e-05/0.01345, allocations: 7.938 kB / 441.4 MB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.01347, allocations: 4 kB / 441.4 MB, free: 2.012 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 8.266e-05/0.01356, allocations: 159.5 kB / 441.6 MB, free: 1.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.01e-05/0.01357, allocations: 7.953 kB / 441.6 MB, free: 1.832 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.209e-05/0.01358, allocations: 8.438 kB / 441.6 MB, free: 1.824 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01358, allocations: 4 kB / 441.6 MB, free: 1.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.01358, allocations: 0 / 441.6 MB, free: 1.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.01359, allocations: 0 / 441.6 MB, free: 1.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.176e-05/0.01367, allocations: 140.7 kB / 441.8 MB, free: 1.641 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.01367, allocations: 0 / 441.8 MB, free: 1.641 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.62e-07/0.01367, allocations: 0 / 441.8 MB, free: 1.641 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.01367, allocations: 0 / 441.8 MB, free: 1.641 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.01368, allocations: 4 kB / 441.8 MB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.01368, allocations: 0 / 441.8 MB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.01368, allocations: 0 / 441.8 MB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004452/0.01413, allocations: 256.3 kB / 442 MB, free: 1.355 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.188e-05/0.01414, allocations: 15.92 kB / 442 MB, free: 1.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.01415, allocations: 0 / 442 MB, free: 1.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.923e-05/0.01417, allocations: 7.938 kB / 442 MB, free: 1.332 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.451e-05/0.01419, allocations: 3.984 kB / 442 MB, free: 1.328 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.01419, allocations: 4 kB / 442 MB, free: 1.324 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.023e-05/0.01423, allocations: 99.27 kB / 442.1 MB, free: 1.227 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01423, allocations: 0 / 442.1 MB, free: 1.227 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006738/0.01491, allocations: 311.4 kB / 442.4 MB, free: 0.9219 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.164/0.1789, allocations: 1.097 MB / 443.5 MB, free: 53.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000268/0.1792, allocations: 247.4 kB / 443.8 MB, free: 53.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1792, allocations: 0 / 443.8 MB, free: 53.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.873e-05/0.1792, allocations: 153.2 kB / 443.9 MB, free: 53.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.1795, allocations: 8.281 kB / 443.9 MB, free: 53.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001343/0.1808, allocations: 1.899 MB / 445.8 MB, free: 52.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.823e-05/0.1809, allocations: 83.8 kB / 445.9 MB, free: 52.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.453e-05/0.1809, allocations: 0 / 445.9 MB, free: 52.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.1809, allocations: 15.5 kB / 445.9 MB, free: 52.24 MB / 410.7 MB Notification: Performance of SimCode: time 8.12e-07/0.1809, allocations: 0 / 445.9 MB, free: 52.24 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.964298764243722] Failed to read output from testmodel.py, exit status != 0: 0.1991088055074215 0.20597078999999996 0.193353188 Calling exit ...