Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.000869/0.000869, 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.0008995/0.0008995, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.904/0.904, allocations: 177.2 MB / 203.6 MB, free: 5.766 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.729/0.729, allocations: 154.7 MB / 414.7 MB, free: 0.7656 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.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [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.0009148/0.0009148, allocations: 61.09 kB / 0.6196 GB, free: 13.14 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.5454/0.5463, allocations: 102 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01574/0.562, allocations: 19.26 MB / 0.7379 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.009863/0.5719, allocations: 6.417 MB / 0.7442 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001954/0.5739, allocations: 115.9 kB / 0.7443 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003011/0.5769, allocations: 2.253 MB / 0.7465 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002906/0.5798, allocations: 1.255 MB / 0.7477 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002727/0.5825, allocations: 1.288 MB / 0.749 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005168/0.5877, allocations: 4.859 MB / 0.7537 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003853/0.5915, allocations: 3.143 MB / 0.7568 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005411/0.5969, allocations: 3.06 MB / 0.7598 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004674/0.6016, allocations: 2.332 MB / 0.7621 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001388/0.603, allocations: 428.9 kB / 0.7625 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002342/0.6053, allocations: 0.9456 MB / 0.7634 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001684/0.607, allocations: 1.716 MB / 0.7651 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.00276/0.6098, allocations: 1.554 MB / 0.7666 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.007874/0.6177, allocations: 6.87 MB / 0.7733 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.6177, allocations: 3.938 kB / 0.7733 GB, free: 6.668 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.996e-06/0.6177, allocations: 0 / 0.7733 GB, free: 6.668 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002255/0.6179, allocations: 0 / 0.7733 GB, free: 6.668 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.009406/0.6273, allocations: 3.46 MB / 0.7767 GB, free: 4.324 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.6274, allocations: 9.219 kB / 0.7767 GB, free: 4.324 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002559/0.6299, allocations: 0.6588 MB / 0.7773 GB, free: 4.004 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003355/0.6333, allocations: 1.991 MB / 0.7793 GB, free: 2.73 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001719/0.6334, allocations: 221.7 kB / 0.7795 GB, free: 2.629 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004249/0.6339, allocations: 296.5 kB / 0.7798 GB, free: 2.527 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006752/0.6406, allocations: 5.247 MB / 0.7849 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.636e-05/0.6407, allocations: 15.88 kB / 0.7849 GB, free: 14.25 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000223/0.6409, allocations: 128 kB / 0.785 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002508/0.6412, allocations: 225.7 kB / 0.7853 GB, free: 13.9 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004741/0.6459, allocations: 3.742 MB / 0.7889 GB, free: 10.15 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01365/0.6596, allocations: 13.11 MB / 0.8017 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.6608, allocations: 1.23 MB / 0.8029 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008948/0.6617, allocations: 0.9875 MB / 0.8039 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.777e-05/0.6618, allocations: 17 kB / 0.8039 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.6618, allocations: 43.56 kB / 0.8039 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=107): time 2.945e-06/0.6618, allocations: 0 / 0.8039 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=138): time 0.0137/0.6755, allocations: 8.42 MB / 0.8122 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.6755, allocations: 68.72 kB / 0.8122 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.6766, allocations: 1.055 MB / 0.8133 GB, free: 0.8359 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.569e-05/0.6766, allocations: 53.7 kB / 0.8133 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006427/0.6773, allocations: 1.35 MB / 0.8146 GB, free: 15.41 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003125/0.6776, allocations: 0.4957 MB / 0.8151 GB, free: 14.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003042/0.6779, allocations: 291.5 kB / 0.8154 GB, free: 14.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.649e-05/0.678, allocations: 313 kB / 0.8157 GB, free: 14.31 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008666/0.6788, allocations: 0.9096 MB / 0.8166 GB, free: 13.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/0.6801, allocations: 1.326 MB / 0.8179 GB, free: 11.91 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002005/0.6821, allocations: 2.418 MB / 0.8202 GB, free: 9.316 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.6821, allocations: 4 kB / 0.8202 GB, free: 9.312 MB / 0.698 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003859/0.686, allocations: 3.429 MB / 0.8236 GB, free: 5.863 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.686, allocations: 8 kB / 0.8236 GB, free: 5.855 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.686, allocations: 16 kB / 0.8236 GB, free: 5.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00177/0.6878, allocations: 1.187 MB / 0.8248 GB, free: 4.648 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005192/0.6883, allocations: 259.6 kB / 0.825 GB, free: 4.395 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01117/0.6995, allocations: 13.25 MB / 0.838 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.7007, allocations: 91.97 kB / 0.838 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.155e-05/0.7007, allocations: 71.88 kB / 0.8381 GB, free: 6.68 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001684/0.7024, allocations: 1.104 MB / 0.8392 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.7026, allocations: 167.4 kB / 0.8394 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003452/0.7061, allocations: 3.133 MB / 0.8424 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.7061, allocations: 7.969 kB / 0.8424 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.7061, allocations: 0 / 0.8424 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006437/0.7067, allocations: 350.9 kB / 0.8428 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.7068, allocations: 24 kB / 0.8428 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003924/0.7072, allocations: 71.91 kB / 0.8428 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002305/0.7075, allocations: 156.9 kB / 0.843 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004182/0.7116, allocations: 3.476 MB / 0.8464 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002839/0.7145, allocations: 3.332 MB / 0.8496 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008519/0.7153, allocations: 0.9939 MB / 0.8506 GB, free: 9.816 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0006971/0.716, allocations: 0.7059 MB / 0.8513 GB, free: 9.105 MB / 0.7292 GB Notification: Performance of Backend: time 4.11e-07/0.716, allocations: 4 kB / 0.8513 GB, free: 9.102 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003927/0.72, allocations: 2.604 MB / 0.8539 GB, free: 6.453 MB / 0.7292 GB Notification: Performance of SimCode: time 0.007297/0.7273, allocations: 6.118 MB / 0.8598 GB, free: 320 kB / 0.7292 GB Notification: Performance of Templates: time 0.04305/0.7703, allocations: 36.76 MB / 0.8957 GB, free: 12.19 MB / 0.7761 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.933182301931083] Failed to read output from testmodel.py, exit status != 0: 0.7766747870482504 0.785469621 0.165862747 Calling exit ...