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.001411/0.001411, allocations: 88.72 kB / 19.44 MB, free: 356 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.001498/0.001498, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.526/1.526, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 1.248/1.248, allocations: 154.6 MB / 414.2 MB, free: 0.6523 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 178] 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: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.5196 GB, free: 2.531 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.802e-05/2.958e-05, allocations: 7.594 kB / 0.5196 GB, free: 2.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02769/0.02772, allocations: 19.1 MB / 0.5383 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01316/0.04088, allocations: 6.401 MB / 0.5446 GB, free: 8.98 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001786/0.04267, allocations: 115.1 kB / 0.5447 GB, free: 8.867 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.006413/0.04908, allocations: 2.253 MB / 0.5469 GB, free: 6.613 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003796/0.05287, allocations: 1.272 MB / 0.5481 GB, free: 5.344 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003615/0.05649, allocations: 1.3 MB / 0.5494 GB, free: 4.043 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.007155/0.06364, allocations: 4.947 MB / 0.5542 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005425/0.06907, allocations: 3.159 MB / 0.5573 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006251/0.07532, allocations: 2.991 MB / 0.5602 GB, free: 8.855 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004258/0.07958, allocations: 2.18 MB / 0.5623 GB, free: 6.672 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.001089/0.08067, allocations: 439.9 kB / 0.5628 GB, free: 6.242 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002451/0.08312, allocations: 0.9638 MB / 0.5637 GB, free: 5.277 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.00241/0.08553, allocations: 1.797 MB / 0.5655 GB, free: 3.477 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.002426/0.08795, allocations: 1.341 MB / 0.5668 GB, free: 2.133 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.009193/0.09715, allocations: 6.698 MB / 0.5733 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.09715, allocations: 0 / 0.5733 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.172e-06/0.09715, allocations: 0.5312 kB / 0.5733 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001781/0.09733, allocations: 0 / 0.5733 GB, free: 11.42 MB / 0.5417 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.008056/0.1054, allocations: 3.455 MB / 0.5767 GB, free: 7.922 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.1054, allocations: 12.03 kB / 0.5767 GB, free: 7.91 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004375/0.1098, allocations: 1.055 MB / 0.5777 GB, free: 6.855 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004668/0.1145, allocations: 2.143 MB / 0.5798 GB, free: 4.684 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002302/0.1147, allocations: 222.3 kB / 0.58 GB, free: 4.465 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006358/0.1153, allocations: 304.3 kB / 0.5803 GB, free: 4.168 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01007/0.1254, allocations: 5.238 MB / 0.5854 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.322e-05/0.1255, allocations: 8.125 kB / 0.5854 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003832/0.1259, allocations: 135.9 kB / 0.5856 GB, free: 14.51 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004782/0.1264, allocations: 233.7 kB / 0.5858 GB, free: 14.28 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007529/0.1339, allocations: 3.744 MB / 0.5894 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02356/0.1575, allocations: 13.24 MB / 0.6024 GB, free: 12.96 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00203/0.1595, allocations: 1.215 MB / 0.6036 GB, free: 11.73 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001629/0.1611, allocations: 0.9957 MB / 0.6045 GB, free: 10.74 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 6.787e-05/0.1612, allocations: 19.06 kB / 0.6046 GB, free: 10.72 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.409e-05/0.1612, allocations: 47.56 kB / 0.6046 GB, free: 10.66 MB / 0.573 GB Notification: Performance of pre-optimization done (n=107): time 3.216e-06/0.1612, allocations: 0 / 0.6046 GB, free: 10.66 MB / 0.573 GB Notification: Performance of matching and sorting (n=138): time 0.02688/0.1881, allocations: 8.452 MB / 0.6129 GB, free: 2.301 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/0.1882, allocations: 68.72 kB / 0.6129 GB, free: 2.219 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002162/0.1904, allocations: 1.067 MB / 0.614 GB, free: 1.141 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001433/0.1905, allocations: 49.7 kB / 0.614 GB, free: 1.086 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001717/0.1922, allocations: 1.362 MB / 0.6153 GB, free: 15.71 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006749/0.1929, allocations: 495.7 kB / 0.6158 GB, free: 15.22 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007094/0.1936, allocations: 299.4 kB / 0.6161 GB, free: 14.92 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002079/0.1938, allocations: 301.1 kB / 0.6164 GB, free: 14.62 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001874/0.1957, allocations: 0.8939 MB / 0.6173 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002148/0.1978, allocations: 1.372 MB / 0.6186 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003801/0.2016, allocations: 2.479 MB / 0.621 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.534e-05/0.2017, allocations: 4 kB / 0.621 GB, free: 9.465 MB / 0.5886 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.007262/0.2089, allocations: 3.495 MB / 0.6244 GB, free: 5.949 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/0.2089, allocations: 15.94 kB / 0.6245 GB, free: 5.934 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.524e-05/0.209, allocations: 12.84 kB / 0.6245 GB, free: 5.922 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004282/0.2133, allocations: 1.338 MB / 0.6258 GB, free: 4.582 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.2143, allocations: 263.6 kB / 0.626 GB, free: 4.324 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02102/0.2353, allocations: 13.28 MB / 0.639 GB, free: 6.742 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.2367, allocations: 91.92 kB / 0.6391 GB, free: 6.652 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003011/0.237, allocations: 71.98 kB / 0.6391 GB, free: 6.582 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (136): * Single equations (assignments): 133 * 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,84.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002547/0.2395, allocations: 1.118 MB / 0.6402 GB, free: 5.453 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006033/0.2401, allocations: 207 kB / 0.6404 GB, free: 5.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00682/0.247, allocations: 3.121 MB / 0.6435 GB, free: 2.094 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.247, allocations: 12 kB / 0.6435 GB, free: 2.082 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.19e-05/0.247, allocations: 15.98 kB / 0.6435 GB, free: 2.066 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/0.247, allocations: 3.984 kB / 0.6435 GB, free: 2.062 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01234/0.2594, allocations: 5.441 MB / 0.6488 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/0.2594, allocations: 12 kB / 0.6488 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000629/0.26, allocations: 147.8 kB / 0.649 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004204/0.2642, allocations: 1.202 MB / 0.6502 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/0.2643, allocations: 28 kB / 0.6502 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02089/0.2852, allocations: 12.98 MB / 0.6629 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/0.2852, allocations: 11.94 kB / 0.6629 GB, free: 13.83 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006452/0.2917, allocations: 3.143 MB / 0.6659 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009213/0.2926, allocations: 346.9 kB / 0.6663 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003231/0.2929, allocations: 31.94 kB / 0.6663 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008989/0.2938, allocations: 75.91 kB / 0.6664 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003985/0.2942, allocations: 132.6 kB / 0.6665 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/0.2943, allocations: 36 kB / 0.6665 GB, free: 10 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001271/0.2956, allocations: 0.7102 MB / 0.6672 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.2956, allocations: 0 / 0.6672 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002376/0.298, allocations: 0.6602 MB / 0.6679 GB, free: 8.625 MB / 0.6355 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 (70): * Single equations (assignments): 67 * 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,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002755/0.2983, allocations: 139.1 kB / 0.668 GB, free: 8.48 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005705/0.304, allocations: 2.996 MB / 0.6709 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.381e-06/0.304, allocations: 0 / 0.6709 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.003454/0.3074, allocations: 1.884 MB / 0.6728 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002329/0.3098, allocations: 477.8 kB / 0.6732 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2298/0.5395, allocations: 5.581 MB / 0.6787 GB, free: 181.1 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002404/0.5419, allocations: 1.768 MB / 0.6804 GB, free: 180.9 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001245/0.5432, allocations: 339.9 kB / 0.6807 GB, free: 180.9 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002393/0.5434, allocations: 87.12 kB / 0.6808 GB, free: 180.9 MB / 0.6355 GB Notification: Performance of SimCode: time 1.673e-06/0.5434, allocations: 0.5625 kB / 0.6808 GB, free: 180.9 MB / 0.6355 GB Notification: Performance of Templates: time 0.0516/0.595, allocations: 32.77 MB / 0.7128 GB, free: 175.7 MB / 0.6355 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: 7.180876930011436]