Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.0007336/0.0007336, allocations: 72.45 kB / 19.9 MB, free: 16 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.0007671/0.0007671, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.8815/0.8815, allocations: 177.2 MB / 203.6 MB, free: 5.379 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.7032/0.7032, allocations: 154.7 MB / 414.7 MB, free: 0.6602 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_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.000957/0.000957, allocations: 71.89 kB / 0.6196 GB, free: 12 MB / 0.5417 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.4375/0.4385, allocations: 102 MB / 0.7191 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.0257/0.4642, allocations: 35.93 MB / 0.7542 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01427/0.4784, allocations: 11.01 MB / 0.765 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003434/0.4819, allocations: 202.6 kB / 0.7652 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.007361/0.4892, allocations: 4.388 MB / 0.7695 GB, free: 9.98 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005808/0.495, allocations: 2.354 MB / 0.7717 GB, free: 7.613 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004624/0.4997, allocations: 2.181 MB / 0.7739 GB, free: 5.438 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.009633/0.5093, allocations: 9.273 MB / 0.7829 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007416/0.5167, allocations: 6.327 MB / 0.7891 GB, free: 5.691 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008432/0.5251, allocations: 5.877 MB / 0.7949 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006443/0.5316, allocations: 4.462 MB / 0.7992 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001965/0.5335, allocations: 0.8203 MB / 0.8 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003568/0.5371, allocations: 1.506 MB / 0.8015 GB, free: 8.996 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.00372/0.5408, allocations: 3.238 MB / 0.8046 GB, free: 5.75 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.004549/0.5454, allocations: 2.969 MB / 0.8075 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0119/0.5573, allocations: 12.97 MB / 0.8202 GB, free: 5.758 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.5573, allocations: 0 / 0.8202 GB, free: 5.758 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.044e-06/0.5573, allocations: 4 kB / 0.8202 GB, free: 5.754 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003539/0.5576, allocations: 0 / 0.8202 GB, free: 5.754 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01267/0.5703, allocations: 6.391 MB / 0.8265 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.5704, allocations: 12.03 kB / 0.8265 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003968/0.5743, allocations: 1.109 MB / 0.8276 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005698/0.58, allocations: 3.576 MB / 0.831 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002349/0.5803, allocations: 419.8 kB / 0.8314 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001766/0.582, allocations: 0.5394 MB / 0.832 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01643/0.5985, allocations: 10.29 MB / 0.842 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001083/0.5986, allocations: 27.75 kB / 0.842 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006301/0.5992, allocations: 244 kB / 0.8423 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003798/0.5996, allocations: 426.9 kB / 0.8427 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01153/0.6111, allocations: 7.112 MB / 0.8496 GB, free: 6.941 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03078/0.6419, allocations: 25.37 MB / 0.8744 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003275/0.6452, allocations: 2.895 MB / 0.8772 GB, free: 10.05 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001857/0.647, allocations: 1.934 MB / 0.8791 GB, free: 8.113 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 9.251e-05/0.6471, allocations: 22 kB / 0.8791 GB, free: 8.09 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/0.6472, allocations: 60.56 kB / 0.8792 GB, free: 8.023 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=209): time 3.958e-06/0.6472, allocations: 4 kB / 0.8792 GB, free: 8.02 MB / 0.7605 GB Notification: Performance of matching and sorting (n=212): time 0.01586/0.663, allocations: 10.25 MB / 0.8892 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.6631, allocations: 77.41 kB / 0.8893 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001951/0.665, allocations: 1.829 MB / 0.8911 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0003139/0.6653, allocations: 65.7 kB / 0.8911 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001059/0.6664, allocations: 2.481 MB / 0.8936 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006167/0.667, allocations: 0.7708 MB / 0.8943 GB, free: 8.449 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005001/0.6675, allocations: 481.5 kB / 0.8948 GB, free: 7.973 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000354/0.6679, allocations: 305.1 kB / 0.8951 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.6693, allocations: 1.364 MB / 0.8964 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/0.671, allocations: 2.116 MB / 0.8985 GB, free: 3.879 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003554/0.6746, allocations: 3.766 MB / 0.9021 GB, free: 15.8 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.445e-05/0.6746, allocations: 4 kB / 0.9021 GB, free: 15.8 MB / 0.7917 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005503/0.6801, allocations: 5.018 MB / 0.907 GB, free: 10.76 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.319e-05/0.6801, allocations: 17.88 kB / 0.9071 GB, free: 10.74 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.267e-05/0.6801, allocations: 20.88 kB / 0.9071 GB, free: 10.72 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002536/0.6827, allocations: 1.584 MB / 0.9086 GB, free: 9.133 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.6838, allocations: 451.2 kB / 0.9091 GB, free: 8.691 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01498/0.6988, allocations: 17.79 MB / 0.9264 GB, free: 6.492 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/0.7005, allocations: 147.9 kB / 0.9266 GB, free: 6.348 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002119/0.7008, allocations: 104 kB / 0.9267 GB, free: 6.246 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002973/0.7037, allocations: 1.952 MB / 0.9286 GB, free: 4.285 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005127/0.7042, allocations: 282.3 kB / 0.9288 GB, free: 4.008 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005169/0.7094, allocations: 4.389 MB / 0.9331 GB, free: 15.58 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/0.7094, allocations: 20 kB / 0.9331 GB, free: 15.56 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.074e-05/0.7095, allocations: 16 kB / 0.9332 GB, free: 15.55 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.096e-05/0.7095, allocations: 11.95 kB / 0.9332 GB, free: 15.54 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01179/0.7213, allocations: 8.354 MB / 0.9413 GB, free: 7.062 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/0.7213, allocations: 4 kB / 0.9413 GB, free: 7.059 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005923/0.7219, allocations: 235.6 kB / 0.9416 GB, free: 6.828 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002056/0.7239, allocations: 1.419 MB / 0.9429 GB, free: 5.398 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000148/0.7241, allocations: 40 kB / 0.943 GB, free: 5.359 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01554/0.7396, allocations: 17.79 MB / 0.9604 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.7396, allocations: 11.94 kB / 0.9604 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4162/1.156, allocations: 4.462 MB / 0.9647 GB, free: 218.8 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00207/1.158, allocations: 0.5531 MB / 0.9653 GB, free: 218.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006834/1.159, allocations: 43.11 kB / 0.9653 GB, free: 218.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/1.16, allocations: 118.3 kB / 0.9654 GB, free: 218.8 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006278/1.16, allocations: 191.4 kB / 0.9656 GB, free: 218.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001588/1.16, allocations: 60.22 kB / 0.9657 GB, free: 218.8 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.00168/1.162, allocations: 1.168 MB / 0.9668 GB, free: 218.7 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.71e-07/1.162, allocations: 5.156 kB / 0.9668 GB, free: 218.6 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.003671/1.166, allocations: 1.136 MB / 0.9679 GB, free: 218.6 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (107): * Single equations (assignments): 103 * 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): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003648/1.166, allocations: 162.5 kB / 0.9681 GB, free: 218.5 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.004863/1.171, allocations: 4.538 MB / 0.9725 GB, free: 217.9 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/1.171, allocations: 0 / 0.9725 GB, free: 217.9 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002579/1.174, allocations: 2.798 MB / 0.9752 GB, free: 216.6 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002264/1.176, allocations: 0.8266 MB / 0.976 GB, free: 216.4 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/1.187, allocations: 10.32 MB / 0.9861 GB, free: 211.7 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002667/1.19, allocations: 3.262 MB / 0.9893 GB, free: 209.3 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005575/1.191, allocations: 152.5 kB / 0.9895 GB, free: 209.2 MB / 0.8386 GB Notification: Performance of SimCode: time 1.543e-06/1.191, allocations: 0 / 0.9895 GB, free: 209.2 MB / 0.8386 GB Notification: Performance of Templates: time 0.09628/1.287, allocations: 173 MB / 1.158 GB, free: 37.63 MB / 0.8386 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 15.941044025821611] Failed to read output from testmodel.py, exit status != 0: 1.2940330679994076 1.299843559 0.740928124 Calling exit ...