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.0009958/0.0009958, allocations: 80.81 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001683/0.001683, allocations: 177 kB / 23.36 MB, free: 1.129 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.97/0.97, allocations: 177.1 MB / 203.8 MB, free: 5.473 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-545:108: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-545:116: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.8211/0.8211, allocations: 154.6 MB / 414.8 MB, free: 0.5039 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: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0.9844 kB / 480.1 MB, free: 6.883 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.122e-05/1.231e-05, allocations: 2.312 kB / 480.1 MB, free: 6.879 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.01533/0.01534, allocations: 20.95 MB / 0.4893 GB, free: 1.902 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01086/0.0262, allocations: 6.346 MB / 0.4955 GB, free: 11.59 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002402/0.0286, allocations: 203.3 kB / 0.4957 GB, free: 11.39 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.03007, allocations: 0.923 MB / 0.4966 GB, free: 10.46 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003103/0.03317, allocations: 2.055 MB / 0.4986 GB, free: 8.414 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003232/0.0364, allocations: 1.859 MB / 0.5004 GB, free: 6.562 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.009584/0.04599, allocations: 9.321 MB / 0.5095 GB, free: 13.21 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007589/0.05358, allocations: 6.546 MB / 0.5159 GB, free: 6.52 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006304/0.05988, allocations: 5.749 MB / 0.5215 GB, free: 0.7617 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003697/0.06358, allocations: 4.405 MB / 0.5258 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0006569/0.06423, allocations: 0.8164 MB / 0.5266 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009721/0.06521, allocations: 0.9071 MB / 0.5275 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.002145/0.06735, allocations: 3.41 MB / 0.5308 GB, free: 7.23 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.001849/0.0692, allocations: 2.586 MB / 0.5333 GB, free: 4.641 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.004676/0.07388, allocations: 6.335 MB / 0.5395 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.07388, allocations: 0 / 0.5395 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.212e-06/0.07388, allocations: 0.7188 kB / 0.5395 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.469e-05/0.07395, allocations: 0 / 0.5395 GB, free: 14.29 MB / 0.5105 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.006082/0.08004, allocations: 5.986 MB / 0.5454 GB, free: 8.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.08007, allocations: 8.031 kB / 0.5454 GB, free: 8.262 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002578/0.08265, allocations: 1.331 MB / 0.5467 GB, free: 6.934 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00291/0.08556, allocations: 2.798 MB / 0.5494 GB, free: 4.094 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004941/0.08605, allocations: 424.4 kB / 0.5498 GB, free: 3.68 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005354/0.08659, allocations: 0.555 MB / 0.5504 GB, free: 3.125 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005039/0.09163, allocations: 5.738 MB / 0.556 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-05/0.09172, allocations: 27.89 kB / 0.556 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003841/0.0921, allocations: 249 kB / 0.5562 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003819/0.09248, allocations: 422.9 kB / 0.5566 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002192/0.09468, allocations: 1.478 MB / 0.5581 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01589/0.1106, allocations: 20.22 MB / 0.5778 GB, free: 5.895 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.112, allocations: 1.24 MB / 0.579 GB, free: 4.672 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007825/0.1128, allocations: 0.7339 MB / 0.5797 GB, free: 3.938 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 8.767e-05/0.1129, allocations: 34 kB / 0.5798 GB, free: 3.902 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.1129, allocations: 66.34 kB / 0.5798 GB, free: 3.832 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=209): time 3.537e-06/0.1129, allocations: 0 / 0.5798 GB, free: 3.832 MB / 0.5417 GB Notification: Performance of matching and sorting (n=212): time 0.009515/0.1224, allocations: 4.97 MB / 0.5847 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001702/0.1226, allocations: 81.34 kB / 0.5848 GB, free: 14.87 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.1236, allocations: 1.559 MB / 0.5863 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.965e-05/0.1237, allocations: 65.7 kB / 0.5864 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008211/0.1245, allocations: 2.199 MB / 0.5885 GB, free: 10.99 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003759/0.1249, allocations: 0.7551 MB / 0.5892 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000421/0.1253, allocations: 453.2 kB / 0.5897 GB, free: 9.777 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.351e-05/0.1254, allocations: 305.1 kB / 0.59 GB, free: 9.477 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000372/0.1258, allocations: 285.2 kB / 0.5902 GB, free: 9.195 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007527/0.1265, allocations: 1.018 MB / 0.5912 GB, free: 7.867 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.1279, allocations: 1.589 MB / 0.5928 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.1279, allocations: 7.938 kB / 0.5928 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.002462/0.1303, allocations: 2.114 MB / 0.5948 GB, free: 3.824 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.1304, allocations: 16 kB / 0.5949 GB, free: 3.809 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.1304, allocations: 20 kB / 0.5949 GB, free: 3.789 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001947/0.1323, allocations: 1.054 MB / 0.5959 GB, free: 2.727 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008439/0.1332, allocations: 423.3 kB / 0.5963 GB, free: 2.312 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007926/0.1411, allocations: 9.322 MB / 0.6054 GB, free: 8.609 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007372/0.1418, allocations: 72 kB / 0.6055 GB, free: 8.539 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.1419, allocations: 88 kB / 0.6056 GB, free: 8.453 MB / 0.573 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.0009402/0.1429, allocations: 271.9 kB / 0.6058 GB, free: 8.176 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002479/0.1431, allocations: 247.8 kB / 0.6061 GB, free: 7.934 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.1452, allocations: 1.758 MB / 0.6078 GB, free: 6.141 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.1452, allocations: 27.98 kB / 0.6078 GB, free: 6.113 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.1452, allocations: 19.94 kB / 0.6078 GB, free: 6.094 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.1452, allocations: 7.969 kB / 0.6078 GB, free: 6.086 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004711/0.1499, allocations: 3.885 MB / 0.6116 GB, free: 2.098 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.1499, allocations: 8.562 kB / 0.6116 GB, free: 2.09 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004866/0.1504, allocations: 207.7 kB / 0.6118 GB, free: 1.887 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001782/0.1522, allocations: 0.9988 MB / 0.6128 GB, free: 0.875 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.638e-05/0.1523, allocations: 36 kB / 0.6128 GB, free: 0.8398 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007436/0.1597, allocations: 9.282 MB / 0.6219 GB, free: 7.176 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1597, allocations: 4 kB / 0.6219 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002094/0.1618, allocations: 1.928 MB / 0.6238 GB, free: 5.148 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005535/0.1624, allocations: 394.2 kB / 0.6242 GB, free: 4.762 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/0.1625, allocations: 44 kB / 0.6242 GB, free: 4.719 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/0.163, allocations: 47.94 kB / 0.6243 GB, free: 4.672 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000309/0.1633, allocations: 185.5 kB / 0.6244 GB, free: 4.492 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.893e-05/0.1634, allocations: 44 kB / 0.6245 GB, free: 4.449 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0005129/0.1639, allocations: 0.7662 MB / 0.6252 GB, free: 3.664 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.1639, allocations: 0 / 0.6252 GB, free: 3.664 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002216/0.1661, allocations: 1.141 MB / 0.6263 GB, free: 2.523 MB / 0.5886 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.0002218/0.1664, allocations: 144.2 kB / 0.6265 GB, free: 2.375 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002598/0.169, allocations: 2.548 MB / 0.629 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.379e-05/0.169, allocations: 29.81 kB / 0.629 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001673/0.1707, allocations: 1.88 MB / 0.6308 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/0.1722, allocations: 0.8207 MB / 0.6316 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008679/0.1809, allocations: 8.74 MB / 0.6402 GB, free: 4.145 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/0.1822, allocations: 1.4 MB / 0.6415 GB, free: 2.715 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006845/0.1828, allocations: 311.4 kB / 0.6418 GB, free: 2.406 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001076/0.1839, allocations: 0.7021 MB / 0.6425 GB, free: 1.688 MB / 0.6042 GB Notification: Performance of SimCode: time 1.162e-06/0.1839, allocations: 0 / 0.6425 GB, free: 1.688 MB / 0.6042 GB Notification: Performance of Templates: time 0.2773/0.4613, allocations: 55.52 MB / 0.6967 GB, free: 167.9 MB / 0.6355 GB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.1188939227722585]