Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.0006534/0.0006534, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008737/0.001527, 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.0006675/0.0006675, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000865/0.001533, 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 0.9911/0.9911, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07663/1.068, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001265/0.001265, allocations: 234.5 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001106/0.002371, allocations: 471.7 kB / 244.8 MB, free: 14.08 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6935/0.6935, allocations: 138.7 MB / 384.3 MB, free: 364 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06901/0.7625, allocations: 42.4 MB / 426.7 MB, free: 5.836 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 428.1 MB, free: 4.5 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.077e-05, allocations: 6.25 kB / 428.1 MB, free: 4.492 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004104/0.004124, allocations: 4.228 MB / 432.3 MB, free: 244 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1825/0.1867, allocations: 1.596 MB / 433.9 MB, free: 1.207 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003966/0.1871, allocations: 31.41 kB / 433.9 MB, free: 1.207 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006301/0.1877, allocations: 198 kB / 434.1 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007232/0.1884, allocations: 409.2 kB / 434.5 MB, free: 1.094 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007098/0.1891, allocations: 342.9 kB / 434.8 MB, free: 1.074 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001063/0.1902, allocations: 1.048 MB / 435.9 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005409/0.1907, allocations: 388.5 kB / 436.3 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007836/0.1915, allocations: 0.5687 MB / 436.8 MB, free: 0.7227 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007119/0.1922, allocations: 407.3 kB / 437.2 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.1923, allocations: 53.06 kB / 437.3 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000381/0.1927, allocations: 128.8 kB / 437.4 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002306/0.1929, allocations: 241.7 kB / 437.6 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002701/0.1932, allocations: 200.3 kB / 437.8 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007646/0.194, allocations: 0.5515 MB / 438.4 MB, free: 392 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.416e-05/0.194, allocations: 0 / 438.4 MB, free: 392 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.194, allocations: 1.312 kB / 438.4 MB, free: 392 kB / 410.7 MB Notification: Performance of Transformations before backend: time 2.947e-05/0.194, allocations: 1.219 kB / 438.4 MB, free: 392 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001354/0.1954, allocations: 1.004 MB / 439.4 MB, free: 15.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.1954, allocations: 10.97 kB / 439.4 MB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008452/0.1963, allocations: 310.3 kB / 439.7 MB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005597/0.1968, allocations: 454.2 kB / 440.2 MB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.1968, allocations: 36.72 kB / 440.2 MB, free: 15.44 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.197, allocations: 61.95 kB / 440.3 MB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006185/0.1976, allocations: 0.6913 MB / 440.9 MB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.1976, allocations: 12.78 kB / 441 MB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.873e-05/0.1976, allocations: 29.25 kB / 441 MB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001107/0.1977, allocations: 58.11 kB / 441 MB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002673/0.198, allocations: 201 kB / 441.2 MB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002107/0.2001, allocations: 3.03 MB / 444.3 MB, free: 12.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.2003, allocations: 168.6 kB / 444.4 MB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.761e-05/0.2004, allocations: 66.25 kB / 444.5 MB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.2005, allocations: 6.688 kB / 444.5 MB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.2005, allocations: 38.39 kB / 444.5 MB, free: 12.26 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 1.603e-06/0.2005, allocations: 2.938 kB / 444.5 MB, free: 12.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.001745/0.2022, allocations: 1.008 MB / 445.6 MB, free: 11.95 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.2023, allocations: 56.16 kB / 445.6 MB, free: 11.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/0.2025, allocations: 397.6 kB / 446 MB, free: 11.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.2025, allocations: 35.86 kB / 446 MB, free: 11.71 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.2026, allocations: 310.2 kB / 446.3 MB, free: 11.49 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.655e-05/0.2027, allocations: 130.3 kB / 446.5 MB, free: 11.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.2029, allocations: 90.44 kB / 446.6 MB, free: 11.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.203, allocations: 365.5 kB / 446.9 MB, free: 11.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.2032, allocations: 65 kB / 447 MB, free: 11.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.2033, allocations: 233.5 kB / 447.2 MB, free: 10.83 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/0.2036, allocations: 362.5 kB / 447.6 MB, free: 10.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.2036, allocations: 4.047 kB / 447.6 MB, free: 10.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0005426/0.2042, allocations: 417.4 kB / 448 MB, free: 10.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.2042, allocations: 8.469 kB / 448 MB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.2042, allocations: 7 kB / 448 MB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004178/0.2046, allocations: 153 kB / 448.1 MB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002815/0.2049, allocations: 120.1 kB / 448.2 MB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/0.2065, allocations: 2.649 MB / 450.9 MB, free: 7.906 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.2066, allocations: 17.77 kB / 450.9 MB, free: 7.898 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.285e-05/0.2067, allocations: 17.94 kB / 450.9 MB, free: 7.895 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (55): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.2068, allocations: 159.6 kB / 451.1 MB, free: 7.738 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.2069, allocations: 43.33 kB / 451.1 MB, free: 7.723 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004126/0.2073, allocations: 321.1 kB / 451.4 MB, free: 7.535 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.2073, allocations: 7.484 kB / 451.5 MB, free: 7.535 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2073, allocations: 2.531 kB / 451.5 MB, free: 7.535 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.2073, allocations: 8.547 kB / 451.5 MB, free: 7.527 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007896/0.2081, allocations: 0.6947 MB / 452.2 MB, free: 7.082 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.2081, allocations: 1.469 kB / 452.2 MB, free: 7.082 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.2083, allocations: 65.52 kB / 452.2 MB, free: 7.066 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.722e-05/0.2084, allocations: 68.55 kB / 452.3 MB, free: 7.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003424/0.2087, allocations: 144.8 kB / 452.4 MB, free: 6.953 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.2087, allocations: 8.375 kB / 452.4 MB, free: 6.949 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001462/0.2102, allocations: 2.644 MB / 455.1 MB, free: 4.395 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.2102, allocations: 3.188 kB / 455.1 MB, free: 4.395 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004986/0.2107, allocations: 0.5153 MB / 455.6 MB, free: 3.848 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.884e-05/0.2107, allocations: 15.92 kB / 455.6 MB, free: 3.832 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.2108, allocations: 12.88 kB / 455.6 MB, free: 3.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.2109, allocations: 27.95 kB / 455.7 MB, free: 3.793 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.2109, allocations: 5.688 kB / 455.7 MB, free: 3.789 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001094/0.211, allocations: 169.7 kB / 455.8 MB, free: 3.641 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-08/0.211, allocations: 0 / 455.8 MB, free: 3.641 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004121/0.2114, allocations: 156 kB / 456 MB, free: 3.484 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,2,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001176/0.2116, allocations: 90.3 kB / 456.1 MB, free: 3.387 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005282/0.2121, allocations: 0.5281 MB / 456.6 MB, free: 2.844 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.752e-05/0.2121, allocations: 9.281 kB / 456.6 MB, free: 2.836 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003324/0.2124, allocations: 422.7 kB / 457 MB, free: 2.406 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000952/0.2134, allocations: 1.589 MB / 458.6 MB, free: 0.5156 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003748/0.2171, allocations: 1.087 MB / 459.7 MB, free: 15.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.2172, allocations: 174.3 kB / 459.9 MB, free: 15.21 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001899/0.2174, allocations: 69.09 kB / 459.9 MB, free: 15.16 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002337/0.2177, allocations: 169.3 kB / 460.1 MB, free: 14.99 MB / 442.7 MB Notification: Performance of SimCode: time 1.072e-06/0.2177, allocations: 1.469 kB / 460.1 MB, free: 14.99 MB / 442.7 MB Notification: Performance of Templates: time 0.0108/0.2285, allocations: 8.794 MB / 468.9 MB, free: 6.719 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4743336187675595]