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.001667/0.001667, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.001792/0.001792, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 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 1.633/1.633, allocations: 230.6 MB / 258.2 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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.1955/0.1955, allocations: 38.56 MB / 353.2 MB, free: 12.29 MB / 286.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002418/0.002418, allocations: 63.91 kB / 493.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3203, allocations: 62.47 MB / 0.5432 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.00365/0.3239, allocations: 2.186 MB / 0.5453 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003367/0.3273, allocations: 1.894 MB / 0.5472 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.102e-05/0.3273, allocations: 5.188 kB / 0.5472 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001436/0.3275, allocations: 14.53 kB / 0.5472 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.254e-05/0.3276, allocations: 25.28 kB / 0.5472 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003203/0.3308, allocations: 0.9676 MB / 0.5481 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.331, allocations: 75.06 kB / 0.5482 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.864e-05/0.3311, allocations: 6.578 kB / 0.5482 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.3312, allocations: 41.55 kB / 0.5483 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.942e-05/0.3313, allocations: 43.08 kB / 0.5483 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.3313, allocations: 2.312 kB / 0.5483 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00373/0.3351, allocations: 1.889 MB / 0.5502 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.231e-05/0.3351, allocations: 25.58 kB / 0.5502 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.097e-05/0.3352, allocations: 19.48 kB / 0.5502 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002255/0.3374, allocations: 1.337 MB / 0.5515 GB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3374, allocations: 0 / 0.5515 GB, free: 10.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3374, allocations: 0 / 0.5515 GB, free: 10.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.3375, allocations: 1.125 kB / 0.5515 GB, free: 10.48 MB / 398.1 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.0008401/0.3383, allocations: 462.2 kB / 0.5519 GB, free: 10.06 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.3383, allocations: 13.11 kB / 0.552 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.06e-05/0.3384, allocations: 12.08 kB / 0.552 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.3386, allocations: 138.3 kB / 0.5521 GB, free: 9.902 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.083e-06/0.3386, allocations: 5.156 kB / 0.5521 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.3386, allocations: 5.312 kB / 0.5521 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.3388, allocations: 111.9 kB / 0.5522 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.3388, allocations: 0 / 0.5522 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.3389, allocations: 5.469 kB / 0.5522 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.3389, allocations: 0 / 0.5522 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.867e-05/0.339, allocations: 82.95 kB / 0.5523 GB, free: 9.758 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001677/0.3391, allocations: 122 kB / 0.5524 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.3393, allocations: 94.31 kB / 0.5525 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.3394, allocations: 83.47 kB / 0.5526 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.3394, allocations: 1.219 kB / 0.5526 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.3394, allocations: 35.69 kB / 0.5526 GB, free: 9.449 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.3394, allocations: 0 / 0.5526 GB, free: 9.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.000452/0.3399, allocations: 306.2 kB / 0.5529 GB, free: 9.258 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.154e-05/0.3399, allocations: 94.88 kB / 0.553 GB, free: 9.156 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.3401, allocations: 128.3 kB / 0.5531 GB, free: 9.043 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.3401, allocations: 25.7 kB / 0.5531 GB, free: 9.012 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.748e-05/0.3401, allocations: 91.42 kB / 0.5532 GB, free: 8.922 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.012e-05/0.3402, allocations: 44.92 kB / 0.5533 GB, free: 8.883 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.38e-05/0.3403, allocations: 21.45 kB / 0.5533 GB, free: 8.863 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.3404, allocations: 322.1 kB / 0.5536 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.3405, allocations: 90.94 kB / 0.5537 GB, free: 8.484 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.56e-05/0.3406, allocations: 79.97 kB / 0.5538 GB, free: 8.438 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.3408, allocations: 185.6 kB / 0.5539 GB, free: 8.324 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3408, allocations: 1.125 kB / 0.5539 GB, free: 8.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002659/0.3411, allocations: 212.7 kB / 0.5542 GB, free: 8.188 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.697e-05/0.3412, allocations: 45.5 kB / 0.5542 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.3412, allocations: 7.922 kB / 0.5542 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.3412, allocations: 0 / 0.5542 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.3412, allocations: 1.562 kB / 0.5542 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3412, allocations: 0 / 0.5542 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.334e-05/0.3413, allocations: 6.297 kB / 0.5542 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.3413, allocations: 7.875 kB / 0.5542 GB, free: 8.137 MB / 398.1 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.0001592/0.3414, allocations: 169.5 kB / 0.5544 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.3415, allocations: 9.422 kB / 0.5544 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.515e-05/0.3415, allocations: 15.92 kB / 0.5544 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3415, allocations: 0 / 0.5544 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3415, allocations: 1.062 kB / 0.5544 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3415, allocations: 0 / 0.5544 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.3416, allocations: 124.7 kB / 0.5545 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.3416, allocations: 0 / 0.5545 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-07/0.3416, allocations: 0 / 0.5545 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3416, allocations: 5.281 kB / 0.5545 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.3416, allocations: 3.062 kB / 0.5545 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3416, allocations: 3.984 kB / 0.5545 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3416, allocations: 4.875 kB / 0.5545 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00041/0.3421, allocations: 337.1 kB / 0.5549 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.641e-05/0.3421, allocations: 7.391 kB / 0.5549 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.3421, allocations: 6.266 kB / 0.5549 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.974e-05/0.3421, allocations: 6.438 kB / 0.5549 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.598e-05/0.3422, allocations: 2.375 kB / 0.5549 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.3422, allocations: 3.469 kB / 0.5549 GB, free: 7.578 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.69e-05/0.3422, allocations: 101.2 kB / 0.555 GB, free: 7.496 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3422, allocations: 4.031 kB / 0.555 GB, free: 7.492 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001224/0.3435, allocations: 329.1 kB / 0.5553 GB, free: 7.402 MB / 398.1 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.00101/0.3445, allocations: 366.2 kB / 0.5556 GB, free: 7.039 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004353/0.3449, allocations: 322.5 kB / 0.556 GB, free: 6.699 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3449, allocations: 0 / 0.556 GB, free: 6.699 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.3451, allocations: 197.1 kB / 0.5561 GB, free: 6.488 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.3454, allocations: 10 kB / 0.5562 GB, free: 6.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00066/0.346, allocations: 384.4 kB / 0.5565 GB, free: 6.066 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.3461, allocations: 91.38 kB / 0.5566 GB, free: 5.957 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.934e-05/0.3462, allocations: 7.438 kB / 0.5566 GB, free: 5.949 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3462, allocations: 3.938 kB / 0.5566 GB, free: 5.945 MB / 398.1 MB Notification: Performance of Templates: time 0.01118/0.3573, allocations: 5.985 MB / 0.5625 GB, free: 15.95 MB / 414.1 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: 11.880218300968409] Failed to read output from testmodel.py, exit status != 0: 0.36713206535205245 0.38277066600000004 0.041979922 Calling exit ...