Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.00177/0.00177, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002141/0.002141, allocations: 209 kB / 24.47 MB, free: 3.941 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.567/1.567, allocations: 230.6 MB / 258.2 MB, free: 7.785 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.2097/0.2097, allocations: 38.55 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_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") [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.002231/0.002231, allocations: 63.91 kB / 493.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3064, allocations: 62.47 MB / 0.5432 GB, free: 416 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003622/0.31, allocations: 2.135 MB / 0.5453 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008834/0.3109, allocations: 0.5111 MB / 0.5458 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.044e-05/0.3109, allocations: 3.938 kB / 0.5458 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.311, allocations: 13.91 kB / 0.5458 GB, free: 14.33 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.406e-05/0.3111, allocations: 22.72 kB / 0.5458 GB, free: 14.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.3115, allocations: 78.67 kB / 0.5459 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.3116, allocations: 64.77 kB / 0.5459 GB, free: 14.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.229e-05/0.3117, allocations: 5.312 kB / 0.5459 GB, free: 14.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.3118, allocations: 41.17 kB / 0.546 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.166e-05/0.3119, allocations: 24 kB / 0.546 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.3119, allocations: 1.125 kB / 0.546 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002185/0.3121, allocations: 97.05 kB / 0.5461 GB, free: 14.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.762e-05/0.3121, allocations: 41.78 kB / 0.5461 GB, free: 14.1 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.557e-05/0.3122, allocations: 33.3 kB / 0.5462 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.3124, allocations: 163.8 kB / 0.5463 GB, free: 13.99 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3124, allocations: 0 / 0.5463 GB, free: 13.99 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3124, allocations: 0 / 0.5463 GB, free: 13.99 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.3124, allocations: 4 kB / 0.5463 GB, free: 13.98 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0005504/0.313, allocations: 408.6 kB / 0.5467 GB, free: 13.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.313, allocations: 13.39 kB / 0.5467 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/0.3131, allocations: 16.83 kB / 0.5467 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.3133, allocations: 152.5 kB / 0.5469 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.3133, allocations: 5.312 kB / 0.5469 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.3133, allocations: 0 / 0.5469 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.3136, allocations: 224 kB / 0.5471 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3136, allocations: 0 / 0.5471 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.3136, allocations: 0 / 0.5471 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.3136, allocations: 1.344 kB / 0.5471 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002038/0.3138, allocations: 200.9 kB / 0.5473 GB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.3139, allocations: 130.8 kB / 0.5474 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.3142, allocations: 216.1 kB / 0.5476 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.3144, allocations: 198.7 kB / 0.5478 GB, free: 12.85 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-06/0.3144, allocations: 0 / 0.5478 GB, free: 12.85 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.3144, allocations: 36.78 kB / 0.5479 GB, free: 12.8 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 9.31e-07/0.3144, allocations: 0 / 0.5479 GB, free: 12.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.0008601/0.3153, allocations: 0.7078 MB / 0.5485 GB, free: 12.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.002e-05/0.3154, allocations: 112.4 kB / 0.5487 GB, free: 12.37 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.3155, allocations: 148.2 kB / 0.5488 GB, free: 12.24 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.3155, allocations: 30.7 kB / 0.5488 GB, free: 12.21 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.707e-05/0.3156, allocations: 96.08 kB / 0.5489 GB, free: 12.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.3157, allocations: 134.8 kB / 0.549 GB, free: 11.99 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.015e-05/0.3158, allocations: 31.27 kB / 0.5491 GB, free: 11.97 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.316, allocations: 337.9 kB / 0.5494 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.3162, allocations: 197.2 kB / 0.5496 GB, free: 11.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.3163, allocations: 188.6 kB / 0.5498 GB, free: 11.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004337/0.3168, allocations: 450.2 kB / 0.5502 GB, free: 11.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3168, allocations: 0 / 0.5502 GB, free: 11.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004886/0.3173, allocations: 466.2 kB / 0.5506 GB, free: 11.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.905e-05/0.3174, allocations: 87.88 kB / 0.5507 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.3174, allocations: 4 kB / 0.5507 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3174, allocations: 1.062 kB / 0.5507 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.3174, allocations: 0 / 0.5507 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3174, allocations: 0.9375 kB / 0.5507 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.327e-05/0.3174, allocations: 28.38 kB / 0.5508 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.3175, allocations: 6.781 kB / 0.5508 GB, free: 10.94 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.0002281/0.3177, allocations: 233.8 kB / 0.551 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.775e-05/0.3177, allocations: 28.36 kB / 0.551 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.32e-05/0.3178, allocations: 17.48 kB / 0.551 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3178, allocations: 0 / 0.551 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.3178, allocations: 4.781 kB / 0.551 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3178, allocations: 3.938 kB / 0.551 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.3179, allocations: 146.1 kB / 0.5512 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3179, allocations: 1.406 kB / 0.5512 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.3179, allocations: 0 / 0.5512 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.3179, allocations: 3.984 kB / 0.5512 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.318, allocations: 6.469 kB / 0.5512 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.318, allocations: 0 / 0.5512 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.318, allocations: 5.203 kB / 0.5512 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009237/0.3189, allocations: 0.7799 MB / 0.552 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.224e-05/0.319, allocations: 34.42 kB / 0.552 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.319, allocations: 5.719 kB / 0.552 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.625e-05/0.319, allocations: 6.125 kB / 0.552 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.3191, allocations: 6.438 kB / 0.552 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.3191, allocations: 6.75 kB / 0.552 GB, free: 10.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.899e-05/0.3192, allocations: 115.7 kB / 0.5521 GB, free: 10.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3192, allocations: 0 / 0.5521 GB, free: 10.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003052/0.3195, allocations: 61.91 kB / 0.5522 GB, free: 10.05 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.0001898/0.3197, allocations: 114 kB / 0.5523 GB, free: 9.953 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009373/0.3206, allocations: 0.7707 MB / 0.553 GB, free: 9.586 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3206, allocations: 0 / 0.553 GB, free: 9.586 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004798/0.3211, allocations: 441.3 kB / 0.5535 GB, free: 9.254 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.3214, allocations: 32.72 kB / 0.5535 GB, free: 9.227 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.3225, allocations: 0.7694 MB / 0.5542 GB, free: 8.422 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/0.3226, allocations: 139.6 kB / 0.5544 GB, free: 8.262 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.184e-05/0.3226, allocations: 7.562 kB / 0.5544 GB, free: 8.254 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3226, allocations: 4 kB / 0.5544 GB, free: 8.25 MB / 398.1 MB Notification: Performance of Templates: time 0.004837/0.3275, allocations: 2.385 MB / 0.5567 GB, free: 5.871 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.262996814679354] Failed to read output from testmodel.py, exit status != 0: 0.3363552652299404 0.35206448500000004 0.036342160000000005 Calling exit ...