Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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.0008408/0.0008408, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004613/0.004613, allocations: 160.3 kB / 24.7 MB, free: 9.418 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.8709/0.8709, allocations: 177.2 MB / 205 MB, free: 5.73 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.2069/0.2069, allocations: 29.41 MB / 290.8 MB, free: 2.418 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: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.525e-05, allocations: 6.281 kB / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.002281/0.002306, allocations: 2.188 MB / 433.7 MB, free: 10.86 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.004237, allocations: 1.903 MB / 435.6 MB, free: 8.949 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.597e-05/0.004283, allocations: 0 / 435.6 MB, free: 8.949 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.004407, allocations: 11.91 kB / 435.6 MB, free: 8.938 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.339e-05/0.00448, allocations: 27.84 kB / 435.6 MB, free: 8.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.006103, allocations: 0.9738 MB / 436.6 MB, free: 7.934 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.006214, allocations: 75.69 kB / 436.7 MB, free: 7.859 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.307e-05/0.006257, allocations: 4.188 kB / 436.7 MB, free: 7.855 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.006389, allocations: 51.75 kB / 436.7 MB, free: 7.805 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.177e-05/0.006451, allocations: 35.89 kB / 436.8 MB, free: 7.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.798e-06/0.006461, allocations: 4 kB / 436.8 MB, free: 7.766 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001896/0.008356, allocations: 1.894 MB / 438.7 MB, free: 5.867 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.176e-05/0.008408, allocations: 23.91 kB / 438.7 MB, free: 5.844 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.612e-05/0.008444, allocations: 15.92 kB / 438.7 MB, free: 5.828 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00142/0.009865, allocations: 1.485 MB / 440.2 MB, free: 4.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.009868, allocations: 0 / 440.2 MB, free: 4.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.009869, allocations: 0 / 440.2 MB, free: 4.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.009874, allocations: 0 / 440.2 MB, free: 4.34 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005077/0.01038, allocations: 470.3 kB / 440.6 MB, free: 3.844 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.01042, allocations: 15.98 kB / 440.6 MB, free: 3.828 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.91e-05/0.01046, allocations: 8.891 kB / 440.7 MB, free: 3.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.0106, allocations: 132.3 kB / 440.8 MB, free: 3.668 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.01061, allocations: 3.938 kB / 440.8 MB, free: 3.664 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-06/0.01062, allocations: 0 / 440.8 MB, free: 3.664 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.01076, allocations: 115.3 kB / 440.9 MB, free: 3.539 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.01077, allocations: 4 kB / 440.9 MB, free: 3.535 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.01078, allocations: 0 / 440.9 MB, free: 3.535 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.01078, allocations: 0 / 440.9 MB, free: 3.535 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.769e-05/0.01084, allocations: 81.67 kB / 441 MB, free: 3.449 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001009/0.01094, allocations: 109.3 kB / 441.1 MB, free: 3.312 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.044e-05/0.01102, allocations: 108.2 kB / 441.2 MB, free: 3.191 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.213e-05/0.01107, allocations: 82.56 kB / 441.3 MB, free: 3.102 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.093e-06/0.01108, allocations: 0 / 441.3 MB, free: 3.102 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.0111, allocations: 38.5 kB / 441.3 MB, free: 3.055 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.734e-06/0.0111, allocations: 3.984 kB / 441.3 MB, free: 3.051 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002775/0.01138, allocations: 298.8 kB / 441.6 MB, free: 2.734 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.01142, allocations: 93.09 kB / 441.7 MB, free: 2.625 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.27e-05/0.01151, allocations: 125.8 kB / 441.8 MB, free: 2.492 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.01152, allocations: 29.7 kB / 441.9 MB, free: 2.457 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.359e-05/0.01155, allocations: 96.06 kB / 441.9 MB, free: 2.359 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.01159, allocations: 47.67 kB / 442 MB, free: 2.312 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.01162, allocations: 21.7 kB / 442 MB, free: 2.285 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.564e-05/0.01169, allocations: 322.8 kB / 442.3 MB, free: 1.961 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.33e-05/0.01175, allocations: 77.67 kB / 442.4 MB, free: 1.879 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.583e-05/0.01179, allocations: 77.67 kB / 442.5 MB, free: 1.797 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.0119, allocations: 180.1 kB / 442.7 MB, free: 1.605 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.01191, allocations: 3.938 kB / 442.7 MB, free: 1.602 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000143/0.01205, allocations: 212.9 kB / 442.9 MB, free: 1.375 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.921e-05/0.01209, allocations: 53.67 kB / 442.9 MB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.01209, allocations: 0 / 442.9 MB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.0121, allocations: 0 / 442.9 MB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.01211, allocations: 4.062 kB / 442.9 MB, free: 1.312 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.01211, allocations: 0 / 442.9 MB, free: 1.312 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.801e-05/0.01215, allocations: 11.89 kB / 442.9 MB, free: 1.301 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.01217, allocations: 4 kB / 442.9 MB, free: 1.297 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.195e-05/0.01225, allocations: 167.5 kB / 443.1 MB, free: 1.117 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.01226, allocations: 11.95 kB / 443.1 MB, free: 1.105 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.448e-05/0.01227, allocations: 8.766 kB / 443.1 MB, free: 1.094 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01227, allocations: 4 kB / 443.1 MB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.01228, allocations: 0 / 443.1 MB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.01228, allocations: 3.938 kB / 443.1 MB, free: 1.086 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.389e-05/0.01234, allocations: 121.3 kB / 443.3 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.01235, allocations: 7.938 kB / 443.3 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.4e-07/0.01235, allocations: 0 / 443.3 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.01235, allocations: 0 / 443.3 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.01236, allocations: 7.984 kB / 443.3 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.01236, allocations: 0 / 443.3 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01236, allocations: 0 / 443.3 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.01258, allocations: 316.3 kB / 443.6 MB, free: 0.582 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.269e-05/0.0126, allocations: 19.81 kB / 443.6 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.01261, allocations: 4 kB / 443.6 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.899e-05/0.01263, allocations: 0 / 443.6 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.844e-05/0.01265, allocations: 12.03 kB / 443.6 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.01265, allocations: 8 kB / 443.6 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.725e-05/0.01269, allocations: 98.39 kB / 443.7 MB, free: 456 kB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01269, allocations: 0 / 443.7 MB, free: 456 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005866/0.01328, allocations: 327.4 kB / 444 MB, free: 128 kB / 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.1569/0.1702, allocations: 406.9 kB / 444.4 MB, free: 54.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004099/0.1706, allocations: 314.9 kB / 444.7 MB, free: 54.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1706, allocations: 0.5 kB / 444.7 MB, free: 54.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.62e-05/0.1707, allocations: 190 kB / 444.9 MB, free: 54.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.171, allocations: 13.03 kB / 444.9 MB, free: 54.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004758/0.1715, allocations: 372.8 kB / 445.3 MB, free: 53.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.827e-05/0.1715, allocations: 87.5 kB / 445.4 MB, free: 53.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.731e-05/0.1715, allocations: 11.62 kB / 445.4 MB, free: 53.89 MB / 410.7 MB Notification: Performance of SimCode: time 1.312e-06/0.1715, allocations: 1.969 kB / 445.4 MB, free: 53.89 MB / 410.7 MB Notification: Performance of Templates: time 0.006709/0.1782, allocations: 6.021 MB / 451.4 MB, free: 53.55 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.412192239426076] Failed to read output from testmodel.py, exit status != 0: 0.1838057702407241 0.191616784 0.179786193 Calling exit ...