Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001907/0.001907, allocations: 93.47 kB / 19.44 MB, free: 336 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.00212/0.00212, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.583/1.583, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.393/1.393, allocations: 154.6 MB / 414.1 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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.5196 GB, free: 2.559 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.562e-05/2.722e-05, allocations: 5.219 kB / 0.5196 GB, free: 2.555 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.02117/0.02119, allocations: 14.12 MB / 0.5334 GB, free: 4.402 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01713/0.03832, allocations: 9.55 MB / 0.5427 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/0.0398, allocations: 83.25 kB / 0.5428 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.005301/0.0451, allocations: 1.717 MB / 0.5445 GB, free: 9.062 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.004944/0.05005, allocations: 1.624 MB / 0.5461 GB, free: 7.449 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002176/0.05222, allocations: 0.7669 MB / 0.5468 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.004065/0.05629, allocations: 2.605 MB / 0.5494 GB, free: 4.074 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002018/0.0583, allocations: 1.189 MB / 0.5505 GB, free: 2.855 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002791/0.06109, allocations: 1.511 MB / 0.552 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001788/0.06288, allocations: 1.032 MB / 0.553 GB, free: 316 kB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002886/0.06317, allocations: 164.8 kB / 0.5532 GB, free: 152 kB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001594/0.06477, allocations: 0.7327 MB / 0.5539 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0007558/0.06552, allocations: 0.6634 MB / 0.5545 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0009747/0.0665, allocations: 0.6508 MB / 0.5552 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.003859/0.07035, allocations: 2.823 MB / 0.5579 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.07036, allocations: 0 / 0.5579 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.82e-07/0.07036, allocations: 1.312 kB / 0.5579 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.972e-05/0.0704, allocations: 4 kB / 0.5579 GB, free: 11.26 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005271/0.07567, allocations: 2.335 MB / 0.5602 GB, free: 8.891 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.07571, allocations: 8.031 kB / 0.5602 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/0.0858, allocations: 1.773 MB / 0.562 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003526/0.08933, allocations: 1.281 MB / 0.5632 GB, free: 5.797 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.649e-05/0.08942, allocations: 86.73 kB / 0.5633 GB, free: 5.711 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003393/0.08976, allocations: 128.4 kB / 0.5634 GB, free: 5.586 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005074/0.09484, allocations: 2.299 MB / 0.5657 GB, free: 2.996 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.293e-05/0.09489, allocations: 16.61 kB / 0.5657 GB, free: 2.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001834/0.09507, allocations: 55.98 kB / 0.5657 GB, free: 2.926 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000713/0.09579, allocations: 179.5 kB / 0.5659 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004609/0.1004, allocations: 1.334 MB / 0.5672 GB, free: 1.41 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01533/0.1157, allocations: 8.871 MB / 0.5759 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004008/0.1197, allocations: 0.9967 MB / 0.5768 GB, free: 7.348 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001835/0.1216, allocations: 0.5429 MB / 0.5774 GB, free: 6.801 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 7.347e-05/0.1216, allocations: 13 kB / 0.5774 GB, free: 6.789 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.233e-05/0.1217, allocations: 54.39 kB / 0.5774 GB, free: 6.727 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=89): time 2.304e-06/0.1217, allocations: 1.312 kB / 0.5774 GB, free: 6.727 MB / 0.5417 GB Notification: Performance of matching and sorting (n=131): time 0.02315/0.1449, allocations: 5.912 MB / 0.5832 GB, free: 0.8125 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.1449, allocations: 64.72 kB / 0.5833 GB, free: 0.7383 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001827/0.1467, allocations: 1.206 MB / 0.5844 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001681/0.1469, allocations: 49.7 kB / 0.5845 GB, free: 15.46 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000818/0.1477, allocations: 0.8244 MB / 0.5853 GB, free: 14.63 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006589/0.1484, allocations: 0.5037 MB / 0.5858 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006248/0.149, allocations: 297.1 kB / 0.5861 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000719/0.1497, allocations: 0.5785 MB / 0.5866 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002072/0.1518, allocations: 0.6245 MB / 0.5872 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002448/0.1543, allocations: 1.019 MB / 0.5882 GB, free: 11.47 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004511/0.1588, allocations: 1.718 MB / 0.5899 GB, free: 9.617 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.1588, allocations: 4 kB / 0.5899 GB, free: 9.613 MB / 0.5573 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.009353/0.1681, allocations: 2.84 MB / 0.5927 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.989e-05/0.1682, allocations: 12 kB / 0.5927 GB, free: 6.695 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.1682, allocations: 8 kB / 0.5927 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007406/0.1756, allocations: 1.403 MB / 0.5941 GB, free: 5.234 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00177/0.1773, allocations: 327.4 kB / 0.5944 GB, free: 4.914 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03227/0.2096, allocations: 27.32 MB / 0.6211 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/0.2118, allocations: 191.7 kB / 0.6213 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/0.212, allocations: 59.97 kB / 0.6213 GB, free: 7.766 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007427/0.2127, allocations: 308.3 kB / 0.6216 GB, free: 7.453 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004395/0.2131, allocations: 199 kB / 0.6218 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009428/0.2226, allocations: 2.696 MB / 0.6244 GB, free: 4.492 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-05/0.2226, allocations: 16 kB / 0.6244 GB, free: 4.477 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.452e-05/0.2226, allocations: 12 kB / 0.6245 GB, free: 4.465 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.737e-05/0.2226, allocations: 11.91 kB / 0.6245 GB, free: 4.453 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0134/0.236, allocations: 4.424 MB / 0.6288 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.236, allocations: 0 / 0.6288 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/0.2375, allocations: 275.5 kB / 0.6291 GB, free: 15.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006668/0.2442, allocations: 1.327 MB / 0.6303 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000246/0.2445, allocations: 39.97 kB / 0.6304 GB, free: 14.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03045/0.2749, allocations: 26.39 MB / 0.6562 GB, free: 2.203 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/0.2749, allocations: 4 kB / 0.6562 GB, free: 2.199 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008779/0.2837, allocations: 2.693 MB / 0.6588 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/0.2848, allocations: 358.8 kB / 0.6591 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002466/0.2851, allocations: 28 kB / 0.6592 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/0.2867, allocations: 195.7 kB / 0.6594 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004585/0.2872, allocations: 132.6 kB / 0.6595 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/0.2873, allocations: 47.95 kB / 0.6595 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001096/0.2884, allocations: 0.7364 MB / 0.6602 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1e-07/0.2884, allocations: 3.938 kB / 0.6602 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002002/0.2904, allocations: 0.5664 MB / 0.6608 GB, free: 13.32 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002961/0.2907, allocations: 135.2 kB / 0.6609 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.009612/0.3003, allocations: 4.385 MB / 0.6652 GB, free: 8.57 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.3003, allocations: 0 / 0.6652 GB, free: 8.57 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.006584/0.3069, allocations: 3.53 MB / 0.6687 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002421/0.3093, allocations: 0.5151 MB / 0.6692 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007543/0.3169, allocations: 3.25 MB / 0.6723 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/0.3181, allocations: 0.8555 MB / 0.6732 GB, free: 100 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.2056/0.5236, allocations: 339.8 kB / 0.6735 GB, free: 177.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004201/0.524, allocations: 107.9 kB / 0.6736 GB, free: 177.3 MB / 0.6355 GB Notification: Performance of SimCode: time 1.282e-06/0.524, allocations: 0 / 0.6736 GB, free: 177.3 MB / 0.6355 GB Notification: Performance of Templates: time 0.0589/0.5829, allocations: 40.83 MB / 0.7135 GB, free: 169.2 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.936595883918926]