Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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.0008235/0.0008235, allocations: 80.44 kB / 19.91 MB, free: 4 kB / 13.93 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.0008053/0.0008053, allocations: 177.2 kB / 23.2 MB, free: 1.359 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.8835/0.8835, allocations: 177.2 MB / 203.6 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7532/0.7532, allocations: 154.7 MB / 414.7 MB, free: 0.7617 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") [Timeout 660] "Notification: IDEAS 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.0009114/0.0009114, allocations: 63.91 kB / 0.6196 GB, free: 13.12 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4834/0.4843, allocations: 102 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01022/0.4945, allocations: 11.39 MB / 0.7303 GB, free: 16.57 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00762/0.5021, allocations: 5.365 MB / 0.7355 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001366/0.5035, allocations: 46 kB / 0.7355 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00224/0.5058, allocations: 1.035 MB / 0.7366 GB, free: 12.52 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002074/0.5078, allocations: 0.664 MB / 0.7372 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002668/0.5105, allocations: 0.9198 MB / 0.7381 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003244/0.5137, allocations: 2.474 MB / 0.7405 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002356/0.5161, allocations: 1.63 MB / 0.7421 GB, free: 9.703 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002316/0.5184, allocations: 1.594 MB / 0.7437 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001622/0.52, allocations: 1.26 MB / 0.7449 GB, free: 8.449 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000291/0.5203, allocations: 231.6 kB / 0.7451 GB, free: 8.449 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.5213, allocations: 0.4959 MB / 0.7456 GB, free: 8.355 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0008475/0.5222, allocations: 0.9247 MB / 0.7465 GB, free: 7.961 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007821/0.523, allocations: 0.7984 MB / 0.7473 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004363/0.5273, allocations: 3.756 MB / 0.751 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.5273, allocations: 4 kB / 0.751 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.655e-06/0.5273, allocations: 0 / 0.751 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.095e-05/0.5274, allocations: 3.938 kB / 0.751 GB, free: 6.305 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.003265/0.5307, allocations: 1.907 MB / 0.7528 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.5307, allocations: 8.406 kB / 0.7528 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001553/0.5323, allocations: 0.497 MB / 0.7533 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/0.5337, allocations: 1.097 MB / 0.7544 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-05/0.5338, allocations: 117.1 kB / 0.7545 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002064/0.534, allocations: 155.8 kB / 0.7546 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003374/0.5374, allocations: 2.903 MB / 0.7575 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/0.5374, allocations: 1.031 kB / 0.7575 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.5375, allocations: 70.73 kB / 0.7576 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001854/0.5377, allocations: 142.9 kB / 0.7577 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002622/0.5403, allocations: 2.303 MB / 0.7599 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007336/0.5476, allocations: 6.678 MB / 0.7665 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008213/0.5485, allocations: 0.5937 MB / 0.767 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004286/0.5489, allocations: 378.8 kB / 0.7674 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.297e-05/0.549, allocations: 13.14 kB / 0.7674 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.549, allocations: 37.06 kB / 0.7674 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 2.555e-06/0.549, allocations: 0 / 0.7674 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.01184/0.5608, allocations: 5.693 MB / 0.773 GB, free: 8.703 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.5609, allocations: 61.31 kB / 0.7731 GB, free: 8.637 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.5619, allocations: 0.8499 MB / 0.7739 GB, free: 8.145 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.522e-05/0.562, allocations: 32.02 kB / 0.7739 GB, free: 8.109 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.00041/0.5624, allocations: 0.7806 MB / 0.7747 GB, free: 7.418 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.5625, allocations: 196.2 kB / 0.7749 GB, free: 7.25 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000261/0.5628, allocations: 198.1 kB / 0.7751 GB, free: 7.137 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.5629, allocations: 385.2 kB / 0.7754 GB, free: 6.773 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007605/0.5637, allocations: 0.655 MB / 0.7761 GB, free: 6.422 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009728/0.5647, allocations: 1.055 MB / 0.7771 GB, free: 5.547 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/0.5664, allocations: 1.676 MB / 0.7787 GB, free: 4.27 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.5664, allocations: 8 kB / 0.7787 GB, free: 4.262 MB / 0.6511 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.004739/0.5711, allocations: 3.111 MB / 0.7818 GB, free: 1.129 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.5712, allocations: 12 kB / 0.7818 GB, free: 1.117 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/0.5712, allocations: 8 kB / 0.7818 GB, free: 1.109 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0035/0.5747, allocations: 1.65 MB / 0.7834 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006373/0.5753, allocations: 235.5 kB / 0.7836 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008955/0.5843, allocations: 9.998 MB / 0.7934 GB, free: 4.809 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.5854, allocations: 167.8 kB / 0.7936 GB, free: 4.645 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-05/0.5855, allocations: 43.98 kB / 0.7936 GB, free: 4.602 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001865/0.5873, allocations: 1.314 MB / 0.7949 GB, free: 3.281 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009544/0.5883, allocations: 1.029 MB / 0.7959 GB, free: 2.074 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001601/0.5899, allocations: 1.618 MB / 0.7975 GB, free: 304 kB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.059e-05/0.5899, allocations: 4 kB / 0.7975 GB, free: 300 kB / 0.6667 GB Notification: Performance of matching and sorting (n=111) (initialization_lambda0): time 0.004018/0.5939, allocations: 2.645 MB / 0.8001 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.5939, allocations: 22.66 kB / 0.8001 GB, free: 13.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.5939, allocations: 8 kB / 0.8001 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002206/0.5961, allocations: 1.07 MB / 0.8011 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005395/0.5967, allocations: 243.6 kB / 0.8014 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004506/0.6012, allocations: 5.457 MB / 0.8067 GB, free: 6.621 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008732/0.6021, allocations: 151.7 kB / 0.8068 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.827e-05/0.6021, allocations: 47.98 kB / 0.8069 GB, free: 6.426 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002738/0.6024, allocations: 248.1 kB / 0.8071 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.6025, allocations: 75.59 kB / 0.8072 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003993/0.6065, allocations: 2.556 MB / 0.8097 GB, free: 3.523 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.779e-06/0.6065, allocations: 7.984 kB / 0.8097 GB, free: 3.516 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.6065, allocations: 4 kB / 0.8097 GB, free: 3.512 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000392/0.6069, allocations: 187.5 kB / 0.8099 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.932e-05/0.607, allocations: 19.89 kB / 0.8099 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004014/0.6074, allocations: 111.8 kB / 0.81 GB, free: 3.199 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/0.6076, allocations: 52.33 kB / 0.8101 GB, free: 3.148 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00281/0.6104, allocations: 2.1 MB / 0.8121 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00164/0.6121, allocations: 1.784 MB / 0.8138 GB, free: 15.23 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004887/0.6125, allocations: 0.5269 MB / 0.8144 GB, free: 14.71 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006833/0.6132, allocations: 0.6122 MB / 0.815 GB, free: 14.1 MB / 0.698 GB Notification: Performance of Backend: time 8.11e-07/0.6132, allocations: 0 / 0.815 GB, free: 14.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003822/0.6171, allocations: 2.799 MB / 0.8177 GB, free: 11.22 MB / 0.698 GB Notification: Performance of SimCode: time 0.004427/0.6215, allocations: 3.346 MB / 0.821 GB, free: 7.832 MB / 0.698 GB Notification: Performance of Templates: time 0.03204/0.6535, allocations: 29.85 MB / 0.8501 GB, free: 10.26 MB / 0.7292 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.869640202028677] Failed to read output from testmodel.py, exit status != 0: 0.661537857959047 0.6716518659999999 0.140751479 Calling exit ...