Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.0009919/0.0009919, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001509/0.002501, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001209/0.001209, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001844/0.003053, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.001/1.001, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1306/1.132, allocations: 53.66 MB / 243.4 MB, free: 15.48 MB / 250.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.7757/0.7757, allocations: 154.6 MB / 398.8 MB, free: 384 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2904/1.066, allocations: 49.05 MB / 447.8 MB, free: 6.605 MB / 426.7 MB " [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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 449.2 MB, free: 5.281 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.628e-05/2.817e-05, allocations: 2.312 kB / 449.2 MB, free: 5.277 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02399/0.02402, allocations: 20.47 MB / 469.6 MB, free: 0.7969 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01453/0.03854, allocations: 10.52 MB / 480.2 MB, free: 6.336 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002237/0.04078, allocations: 202.4 kB / 480.4 MB, free: 6.137 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.04228, allocations: 0.9131 MB / 481.3 MB, free: 5.219 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005341/0.04763, allocations: 3.176 MB / 484.5 MB, free: 2.047 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002719/0.05034, allocations: 1.837 MB / 486.3 MB, free: 224 kB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.008881/0.05923, allocations: 9.962 MB / 496.3 MB, free: 6.227 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006082/0.06531, allocations: 5.486 MB / 0.49 GB, free: 0.582 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007144/0.07245, allocations: 6.3 MB / 0.4961 GB, free: 10.26 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005323/0.07777, allocations: 4.368 MB / 0.5004 GB, free: 5.898 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001241/0.07902, allocations: 0.7076 MB / 0.5011 GB, free: 5.191 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00151/0.08053, allocations: 0.8044 MB / 0.5019 GB, free: 4.387 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001875/0.0824, allocations: 2.87 MB / 0.5047 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001958/0.08436, allocations: 2.009 MB / 0.5066 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.004382/0.08874, allocations: 5.484 MB / 0.512 GB, free: 10 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.94e-05/0.08876, allocations: 1.75 kB / 0.512 GB, free: 10 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.014e-06/0.08876, allocations: 0 / 0.512 GB, free: 10 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001184/0.08888, allocations: 0 / 0.512 GB, free: 10 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.007084/0.09597, allocations: 6.904 MB / 0.5187 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.096, allocations: 12.02 kB / 0.5187 GB, free: 3.043 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003351/0.09935, allocations: 1.578 MB / 0.5203 GB, free: 1.445 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003536/0.1029, allocations: 2.682 MB / 0.5229 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001992/0.1031, allocations: 379.1 kB / 0.5233 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005315/0.1036, allocations: 0.4964 MB / 0.5238 GB, free: 13.83 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004853/0.1085, allocations: 4.884 MB / 0.5285 GB, free: 8.512 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.463e-05/0.1086, allocations: 23.81 kB / 0.5285 GB, free: 8.488 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003397/0.1089, allocations: 216 kB / 0.5288 GB, free: 8.277 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004495/0.1094, allocations: 349.7 kB / 0.5291 GB, free: 7.934 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001928/0.1113, allocations: 1.307 MB / 0.5304 GB, free: 6.621 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01383/0.1251, allocations: 16.66 MB / 0.5466 GB, free: 5.543 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008055/0.1259, allocations: 0.8121 MB / 0.5474 GB, free: 4.762 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006843/0.1266, allocations: 0.6108 MB / 0.548 GB, free: 4.16 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.762e-05/0.1267, allocations: 30.62 kB / 0.5481 GB, free: 4.133 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.58e-05/0.1267, allocations: 59.84 kB / 0.5481 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=171): time 3.807e-06/0.1268, allocations: 0 / 0.5481 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of matching and sorting (n=174): time 0.01261/0.1394, allocations: 6.656 MB / 0.5546 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.1394, allocations: 69.41 kB / 0.5547 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.1406, allocations: 1.679 MB / 0.5563 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.2e-05/0.1406, allocations: 57.7 kB / 0.5564 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008081/0.1415, allocations: 1.998 MB / 0.5583 GB, free: 9.629 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003404/0.1418, allocations: 0.6234 MB / 0.5589 GB, free: 9 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003741/0.1422, allocations: 371.6 kB / 0.5593 GB, free: 8.629 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.363e-05/0.1422, allocations: 305.1 kB / 0.5596 GB, free: 8.328 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.1426, allocations: 260.2 kB / 0.5598 GB, free: 8.07 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006085/0.1432, allocations: 0.8327 MB / 0.5606 GB, free: 6.988 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.1444, allocations: 1.365 MB / 0.562 GB, free: 5.383 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.1444, allocations: 8 kB / 0.562 GB, free: 5.375 MB / 0.5417 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.002664/0.1471, allocations: 1.994 MB / 0.5639 GB, free: 3.359 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.1471, allocations: 15.94 kB / 0.5639 GB, free: 3.344 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/0.1471, allocations: 16 kB / 0.564 GB, free: 3.328 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002703/0.1498, allocations: 1.23 MB / 0.5652 GB, free: 2.102 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007963/0.1506, allocations: 387.4 kB / 0.5655 GB, free: 1.723 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007393/0.158, allocations: 7.673 MB / 0.573 GB, free: 9.758 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009428/0.159, allocations: 60 kB / 0.5731 GB, free: 9.699 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-05/0.1591, allocations: 71.98 kB / 0.5731 GB, free: 9.629 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (187): * Single equations (assignments): 184 * 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 {(10,28,71.0%), (6,24,77.8%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009528/0.16, allocations: 248 kB / 0.5734 GB, free: 9.375 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002642/0.1603, allocations: 235.7 kB / 0.5736 GB, free: 9.145 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/0.1627, allocations: 1.763 MB / 0.5753 GB, free: 7.352 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.1627, allocations: 25.3 kB / 0.5754 GB, free: 7.328 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.1627, allocations: 16 kB / 0.5754 GB, free: 7.312 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.1627, allocations: 7.969 kB / 0.5754 GB, free: 7.305 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004876/0.1676, allocations: 3.618 MB / 0.5789 GB, free: 3.594 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.1676, allocations: 4 kB / 0.5789 GB, free: 3.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004444/0.168, allocations: 191.8 kB / 0.5791 GB, free: 3.402 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004769/0.1685, allocations: 370.1 kB / 0.5795 GB, free: 3.039 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002378/0.1709, allocations: 1.182 MB / 0.5806 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.241e-05/0.1709, allocations: 36 kB / 0.5806 GB, free: 1.809 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007355/0.1783, allocations: 7.661 MB / 0.5881 GB, free: 9.863 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.784e-06/0.1783, allocations: 7.938 kB / 0.5881 GB, free: 9.855 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00233/0.1806, allocations: 1.883 MB / 0.59 GB, free: 7.898 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/0.1808, allocations: 35.94 kB / 0.59 GB, free: 7.863 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005191/0.1814, allocations: 36.52 kB / 0.59 GB, free: 7.828 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002707/0.1816, allocations: 156.9 kB / 0.5902 GB, free: 7.676 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-05/0.1817, allocations: 36.12 kB / 0.5902 GB, free: 7.641 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0006403/0.1823, allocations: 0.8508 MB / 0.5911 GB, free: 6.777 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.3e-07/0.1823, allocations: 0 / 0.5911 GB, free: 6.777 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002252/0.1846, allocations: 1.086 MB / 0.5921 GB, free: 5.691 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (90): * Single equations (assignments): 87 * 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%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002381/0.1848, allocations: 132.2 kB / 0.5922 GB, free: 5.551 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002468/0.1873, allocations: 2.18 MB / 0.5944 GB, free: 3.332 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.493e-05/0.1874, allocations: 53.67 kB / 0.5944 GB, free: 3.277 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001733/0.1891, allocations: 1.646 MB / 0.596 GB, free: 1.598 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004525/0.1936, allocations: 9.698 MB / 0.6055 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03418/0.2278, allocations: 8.195 MB / 0.6135 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001211/0.229, allocations: 1.242 MB / 0.6147 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00124/0.2302, allocations: 331.4 kB / 0.615 GB, free: 12.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00122/0.2315, allocations: 0.7411 MB / 0.6158 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of SimCode: time 2.275e-06/0.2315, allocations: 4 kB / 0.6158 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of Templates: time 0.2802/0.5116, allocations: 60.61 MB / 0.6749 GB, free: 159.9 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.881912429817021]