Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001167/0.001167, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009935/0.0009935, allocations: 169 kB / 23.27 MB, free: 1.223 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.9438/0.9438, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.7129/0.7129, allocations: 154.6 MB / 414.8 MB, free: 0.5273 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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.5208 GB, free: 1.836 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.596e-05/1.736e-05, allocations: 6.484 kB / 0.5208 GB, free: 1.832 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.01185/0.01187, allocations: 16.94 MB / 0.5373 GB, free: 0.8398 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0064/0.01827, allocations: 5.086 MB / 0.5423 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008257/0.01909, allocations: 194.6 kB / 0.5425 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.02026, allocations: 0.75 MB / 0.5432 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.022, allocations: 1.654 MB / 0.5448 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.02398, allocations: 1.562 MB / 0.5464 GB, free: 7.609 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.004945/0.02893, allocations: 7.34 MB / 0.5535 GB, free: 256 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004058/0.03298, allocations: 5.093 MB / 0.5585 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003893/0.03688, allocations: 4.561 MB / 0.563 GB, free: 6.469 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00275/0.03963, allocations: 3.545 MB / 0.5664 GB, free: 2.918 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0005702/0.0402, allocations: 0.6445 MB / 0.5671 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009776/0.04117, allocations: 0.7379 MB / 0.5678 GB, free: 1.535 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.00143/0.0426, allocations: 2.767 MB / 0.5705 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.001652/0.04426, allocations: 2.023 MB / 0.5725 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.003828/0.04808, allocations: 5.026 MB / 0.5774 GB, free: 7.695 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.04809, allocations: 4 kB / 0.5774 GB, free: 7.691 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.263e-06/0.04809, allocations: 2.438 kB / 0.5774 GB, free: 7.691 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.33e-05/0.04818, allocations: 0 / 0.5774 GB, free: 7.691 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.004552/0.05274, allocations: 5.156 MB / 0.5824 GB, free: 2.477 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.05277, allocations: 13.16 kB / 0.5824 GB, free: 2.465 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002229/0.055, allocations: 1.355 MB / 0.5837 GB, free: 1.105 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002416/0.05742, allocations: 2.675 MB / 0.5864 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/0.05757, allocations: 353.7 kB / 0.5867 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004112/0.05799, allocations: 476.2 kB / 0.5871 GB, free: 13.59 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003946/0.06193, allocations: 4.455 MB / 0.5915 GB, free: 8.594 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.407e-05/0.06201, allocations: 25.86 kB / 0.5915 GB, free: 8.57 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002735/0.06228, allocations: 207.5 kB / 0.5917 GB, free: 8.371 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002014/0.06248, allocations: 312.9 kB / 0.592 GB, free: 8.062 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.06421, allocations: 1.395 MB / 0.5934 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02224/0.08645, allocations: 23.96 MB / 0.6168 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001339/0.08779, allocations: 0.7014 MB / 0.6175 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006884/0.08848, allocations: 445.8 kB / 0.6179 GB, free: 12.82 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.022e-05/0.08855, allocations: 25.3 kB / 0.6179 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.08859, allocations: 46.7 kB / 0.618 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=133): time 4.038e-06/0.08859, allocations: 0 / 0.618 GB, free: 12.73 MB / 0.5886 GB Notification: Performance of matching and sorting (n=136): time 0.006755/0.09535, allocations: 3.038 MB / 0.6209 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.09538, allocations: 64.72 kB / 0.621 GB, free: 9.609 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000996/0.09638, allocations: 1.31 MB / 0.6223 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.422e-05/0.09644, allocations: 45.7 kB / 0.6223 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009538/0.0974, allocations: 2.13 MB / 0.6244 GB, free: 6.086 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003068/0.0977, allocations: 0.5074 MB / 0.6249 GB, free: 5.574 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003153/0.09802, allocations: 361.6 kB / 0.6252 GB, free: 5.215 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002555/0.09828, allocations: 480.7 kB / 0.6257 GB, free: 4.742 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003069/0.09858, allocations: 250.8 kB / 0.6259 GB, free: 4.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007023/0.09928, allocations: 1.216 MB / 0.6271 GB, free: 2.859 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.1006, allocations: 1.643 MB / 0.6287 GB, free: 0.8008 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.801e-05/0.1006, allocations: 8 kB / 0.6287 GB, free: 0.793 MB / 0.5886 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.002401/0.103, allocations: 1.979 MB / 0.6307 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.103, allocations: 16 kB / 0.6307 GB, free: 14.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.807e-05/0.1031, allocations: 24.34 kB / 0.6307 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001327/0.1044, allocations: 0.6831 MB / 0.6314 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005594/0.105, allocations: 311.5 kB / 0.6317 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/0.1164, allocations: 23.38 MB / 0.6545 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009411/0.1174, allocations: 60 kB / 0.6546 GB, free: 4.863 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.266e-05/0.1175, allocations: 79.92 kB / 0.6546 GB, free: 4.785 MB / 0.6198 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009273/0.1184, allocations: 276 kB / 0.6549 GB, free: 4.504 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00025/0.1186, allocations: 246.8 kB / 0.6551 GB, free: 4.262 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001744/0.1204, allocations: 1.481 MB / 0.6566 GB, free: 2.711 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.1204, allocations: 12 kB / 0.6566 GB, free: 2.699 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.669e-05/0.1204, allocations: 12 kB / 0.6566 GB, free: 2.688 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.1204, allocations: 3.984 kB / 0.6566 GB, free: 2.684 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005135/0.1256, allocations: 3.665 MB / 0.6602 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.1256, allocations: 8.562 kB / 0.6602 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003516/0.1259, allocations: 143.7 kB / 0.6603 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001182/0.1271, allocations: 0.6207 MB / 0.6609 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-05/0.1272, allocations: 32 kB / 0.661 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2612/0.3884, allocations: 22.32 MB / 0.6828 GB, free: 147.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/0.3884, allocations: 9.781 kB / 0.6828 GB, free: 147.9 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002457/0.3909, allocations: 1.728 MB / 0.6845 GB, free: 147.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005807/0.3914, allocations: 326.6 kB / 0.6848 GB, free: 147.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.3916, allocations: 33.48 kB / 0.6848 GB, free: 147.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004688/0.3921, allocations: 29.22 kB / 0.6848 GB, free: 147.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002944/0.3924, allocations: 128.6 kB / 0.685 GB, free: 147.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.844e-05/0.3924, allocations: 30.41 kB / 0.685 GB, free: 147.3 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005614/0.393, allocations: 0.7001 MB / 0.6857 GB, free: 147.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1e-07/0.393, allocations: 2.844 kB / 0.6857 GB, free: 147.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001954/0.3949, allocations: 0.7915 MB / 0.6864 GB, free: 147.1 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.0001972/0.3951, allocations: 140.6 kB / 0.6866 GB, free: 147.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002291/0.3974, allocations: 3.401 MB / 0.6899 GB, free: 144.9 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.3974, allocations: 0 / 0.6899 GB, free: 144.9 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001586/0.399, allocations: 2.789 MB / 0.6926 GB, free: 142.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/0.4009, allocations: 0.7275 MB / 0.6933 GB, free: 142.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008076/0.409, allocations: 6.547 MB / 0.6997 GB, free: 140 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001151/0.4102, allocations: 1.132 MB / 0.7008 GB, free: 139.9 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000846/0.411, allocations: 246.3 kB / 0.7011 GB, free: 139.9 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007644/0.4118, allocations: 0.5674 MB / 0.7016 GB, free: 139.8 MB / 0.6355 GB Notification: Performance of SimCode: time 1.483e-06/0.4118, allocations: 0 / 0.7016 GB, free: 139.8 MB / 0.6355 GB Notification: Performance of Templates: time 0.04904/0.4608, allocations: 38.92 MB / 0.7396 GB, free: 131.8 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.471333139110357]