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.00138/0.00138, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001522/0.001522, allocations: 209.9 kB / 24.49 MB, free: 4.148 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.517/1.517, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.53 MB / 353.2 MB, free: 12.54 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.002114/0.002114, allocations: 67.89 kB / 493.8 MB, free: 4.367 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4095, allocations: 62.47 MB / 0.5432 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.003909/0.4134, allocations: 2.215 MB / 0.5454 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003709/0.4171, allocations: 2.098 MB / 0.5475 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.307e-05/0.4172, allocations: 7.938 kB / 0.5475 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.4173, allocations: 10.2 kB / 0.5475 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.4174, allocations: 25.59 kB / 0.5475 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003667/0.4211, allocations: 0.9936 MB / 0.5485 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.4213, allocations: 75.44 kB / 0.5485 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.523e-05/0.4214, allocations: 6.516 kB / 0.5485 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002026/0.4216, allocations: 39.06 kB / 0.5486 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.4218, allocations: 50.69 kB / 0.5486 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.4218, allocations: 1.25 kB / 0.5486 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004705/0.4265, allocations: 2.23 MB / 0.5508 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.373e-05/0.4266, allocations: 17.45 kB / 0.5508 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.764e-05/0.4266, allocations: 30.59 kB / 0.5509 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002895/0.4295, allocations: 1.366 MB / 0.5522 GB, free: 10.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.4295, allocations: 4 kB / 0.5522 GB, free: 10.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4295, allocations: 0 / 0.5522 GB, free: 10.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.4295, allocations: 0 / 0.5522 GB, free: 10.04 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.0009895/0.4305, allocations: 461.6 kB / 0.5526 GB, free: 9.621 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.4306, allocations: 14.02 kB / 0.5526 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.538e-05/0.4306, allocations: 11.83 kB / 0.5527 GB, free: 9.609 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.4308, allocations: 133.9 kB / 0.5528 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.667e-06/0.4309, allocations: 1.375 kB / 0.5528 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.4309, allocations: 1.438 kB / 0.5528 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.4311, allocations: 71.44 kB / 0.5529 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.4311, allocations: 5.156 kB / 0.5529 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.4311, allocations: 0 / 0.5529 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.4311, allocations: 1.094 kB / 0.5529 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.42e-05/0.4312, allocations: 35.39 kB / 0.5529 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002053/0.4314, allocations: 146.3 kB / 0.553 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.4315, allocations: 50.22 kB / 0.5531 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.265e-05/0.4316, allocations: 35.28 kB / 0.5531 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.4316, allocations: 5 kB / 0.5531 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.4316, allocations: 31.66 kB / 0.5531 GB, free: 9.129 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.4316, allocations: 0 / 0.5531 GB, free: 9.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003986/0.432, allocations: 192.2 kB / 0.5533 GB, free: 9.027 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.897e-05/0.4321, allocations: 89.55 kB / 0.5534 GB, free: 8.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.4323, allocations: 132.2 kB / 0.5535 GB, free: 8.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.4323, allocations: 30.75 kB / 0.5536 GB, free: 8.777 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.756e-05/0.4323, allocations: 90.36 kB / 0.5537 GB, free: 8.688 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.842e-05/0.4324, allocations: 49.48 kB / 0.5537 GB, free: 8.645 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.4325, allocations: 21.62 kB / 0.5537 GB, free: 8.625 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.4326, allocations: 325.3 kB / 0.554 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.45e-05/0.4327, allocations: 31.61 kB / 0.5541 GB, free: 8.293 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.248e-05/0.4327, allocations: 38.88 kB / 0.5541 GB, free: 8.277 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.4329, allocations: 163.1 kB / 0.5543 GB, free: 8.176 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4329, allocations: 0 / 0.5543 GB, free: 8.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002113/0.4331, allocations: 155.7 kB / 0.5544 GB, free: 8.082 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.16e-05/0.4332, allocations: 48.69 kB / 0.5545 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4332, allocations: 0 / 0.5545 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.4332, allocations: 1.25 kB / 0.5545 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.4332, allocations: 0 / 0.5545 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.4333, allocations: 0 / 0.5545 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.204e-05/0.4333, allocations: 11.02 kB / 0.5545 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.4333, allocations: 17.22 kB / 0.5545 GB, free: 8.023 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.0001453/0.4335, allocations: 163.8 kB / 0.5546 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.4335, allocations: 9.391 kB / 0.5546 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.212e-05/0.4335, allocations: 10.94 kB / 0.5547 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.4335, allocations: 0 / 0.5547 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4335, allocations: 5.062 kB / 0.5547 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4335, allocations: 0 / 0.5547 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.4337, allocations: 158.5 kB / 0.5548 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4337, allocations: 0 / 0.5548 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.4337, allocations: 0 / 0.5548 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.4337, allocations: 1.062 kB / 0.5548 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.4337, allocations: 11.19 kB / 0.5548 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4337, allocations: 0 / 0.5548 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4337, allocations: 1.094 kB / 0.5548 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000417/0.4341, allocations: 293.3 kB / 0.5551 GB, free: 7.484 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.642e-05/0.4341, allocations: 6.203 kB / 0.5551 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.4342, allocations: 3.438 kB / 0.5551 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.986e-05/0.4342, allocations: 2.312 kB / 0.5551 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.4342, allocations: 6.203 kB / 0.5551 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.4342, allocations: 3.406 kB / 0.5551 GB, free: 7.477 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.762e-05/0.4343, allocations: 108.9 kB / 0.5552 GB, free: 7.387 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4343, allocations: 4.031 kB / 0.5552 GB, free: 7.383 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001641/0.436, allocations: 324.7 kB / 0.5555 GB, free: 7.328 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.001112/0.4371, allocations: 375.2 kB / 0.5559 GB, free: 7.121 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003874/0.4375, allocations: 235.2 kB / 0.5561 GB, free: 6.879 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4375, allocations: 0 / 0.5561 GB, free: 6.879 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.4377, allocations: 167.4 kB / 0.5563 GB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.4379, allocations: 8 kB / 0.5563 GB, free: 6.695 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006172/0.4386, allocations: 330.7 kB / 0.5566 GB, free: 6.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.439, allocations: 0.7079 MB / 0.5573 GB, free: 5.605 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.063e-05/0.439, allocations: 11.38 kB / 0.5573 GB, free: 5.594 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.439, allocations: 4.062 kB / 0.5573 GB, free: 5.59 MB / 398.1 MB Notification: Performance of Templates: time 0.01263/0.4516, allocations: 5.949 MB / 0.5631 GB, free: 15.63 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: 12.614513591863215] Failed to read output from testmodel.py, exit status != 0: 0.4619163009338081 0.47965968 0.046430387000000004 Calling exit ...