Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.002228/0.002228, allocations: 85.48 kB / 19.44 MB, free: 344 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.002828/0.002828, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.576/1.576, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.328/1.328, allocations: 154.6 MB / 414.2 MB, free: 0.6328 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_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.5196 GB, free: 2.551 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.75e-05, allocations: 7.203 kB / 0.5196 GB, free: 2.547 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.05001/0.05004, allocations: 35.12 MB / 0.5539 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0251/0.07514, allocations: 11.76 MB / 0.5654 GB, free: 3.59 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004069/0.07921, allocations: 214.4 kB / 0.5656 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.01316/0.09236, allocations: 4.403 MB / 0.5699 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.007299/0.09966, allocations: 2.147 MB / 0.572 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.008675/0.1083, allocations: 2.434 MB / 0.5744 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.01469/0.123, allocations: 8.614 MB / 0.5828 GB, free: 1.754 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01605/0.1391, allocations: 6.205 MB / 0.5889 GB, free: 11.43 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01654/0.1556, allocations: 5.448 MB / 0.5942 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009616/0.1652, allocations: 4.184 MB / 0.5983 GB, free: 1.777 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.003549/0.1688, allocations: 0.7812 MB / 0.599 GB, free: 0.9961 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007067/0.1758, allocations: 1.93 MB / 0.6009 GB, free: 15.06 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.007036/0.1829, allocations: 3.325 MB / 0.6042 GB, free: 11.73 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.008349/0.1912, allocations: 2.412 MB / 0.6065 GB, free: 9.316 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.02327/0.2145, allocations: 12.31 MB / 0.6185 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 8.455e-06/0.2145, allocations: 0 / 0.6185 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.404e-06/0.2145, allocations: 0 / 0.6185 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.000503/0.215, allocations: 3.938 kB / 0.6185 GB, free: 12.97 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02363/0.2386, allocations: 6.728 MB / 0.6251 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/0.2387, allocations: 8.031 kB / 0.6251 GB, free: 6.18 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01105/0.2498, allocations: 1.767 MB / 0.6269 GB, free: 4.41 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01063/0.2604, allocations: 3.345 MB / 0.6301 GB, free: 1.031 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005835/0.261, allocations: 423.4 kB / 0.6305 GB, free: 0.6172 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002614/0.2636, allocations: 0.5471 MB / 0.6311 GB, free: 72 kB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02279/0.2864, allocations: 6.098 MB / 0.637 GB, free: 9.473 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003625/0.2867, allocations: 39.89 kB / 0.6371 GB, free: 9.434 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002099/0.2888, allocations: 236.3 kB / 0.6373 GB, free: 9.203 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000563/0.2894, allocations: 350.7 kB / 0.6376 GB, free: 8.859 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01237/0.3018, allocations: 2.254 MB / 0.6398 GB, free: 6.602 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06816/0.3699, allocations: 33.55 MB / 0.6726 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003336/0.3733, allocations: 1.293 MB / 0.6738 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002211/0.3755, allocations: 0.9021 MB / 0.6747 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001589/0.3756, allocations: 30 kB / 0.6747 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.687e-05/0.3757, allocations: 55.39 kB / 0.6748 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=179): time 4.298e-06/0.3757, allocations: 0 / 0.6748 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of matching and sorting (n=182): time 0.2446/0.6203, allocations: 6.592 MB / 0.6812 GB, free: 175.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.6204, allocations: 70.59 kB / 0.6813 GB, free: 175.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001942/0.6223, allocations: 1.899 MB / 0.6832 GB, free: 175 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001107/0.6224, allocations: 53.23 kB / 0.6832 GB, free: 175 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009998/0.6234, allocations: 2.47 MB / 0.6856 GB, free: 174 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004842/0.6239, allocations: 0.7317 MB / 0.6863 GB, free: 173.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006107/0.6245, allocations: 0.489 MB / 0.6868 GB, free: 173.6 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.438e-05/0.6246, allocations: 476.8 kB / 0.6873 GB, free: 173.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008442/0.6254, allocations: 494.5 kB / 0.6877 GB, free: 173.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00127/0.6267, allocations: 1.581 MB / 0.6893 GB, free: 171.9 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002327/0.629, allocations: 2.3 MB / 0.6915 GB, free: 170.6 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/0.629, allocations: 5.781 kB / 0.6915 GB, free: 170.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005439/0.6345, allocations: 2.929 MB / 0.6944 GB, free: 170.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.6345, allocations: 18.25 kB / 0.6944 GB, free: 170.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.121e-05/0.6345, allocations: 22.53 kB / 0.6944 GB, free: 170.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003836/0.6384, allocations: 1.341 MB / 0.6957 GB, free: 170 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.6396, allocations: 350.9 kB / 0.6961 GB, free: 169.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01564/0.6552, allocations: 13.74 MB / 0.7095 GB, free: 159.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/0.6572, allocations: 119.5 kB / 0.7096 GB, free: 159.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001698/0.6574, allocations: 98.55 kB / 0.7097 GB, free: 159.8 MB / 0.6355 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 (177): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001523/0.6589, allocations: 429.3 kB / 0.7101 GB, free: 159.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004908/0.6594, allocations: 287.5 kB / 0.7104 GB, free: 159.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005426/0.6648, allocations: 2.328 MB / 0.7127 GB, free: 158.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.6648, allocations: 17.22 kB / 0.7127 GB, free: 158.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.758e-05/0.6649, allocations: 16.66 kB / 0.7127 GB, free: 158.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/0.6649, allocations: 10.94 kB / 0.7127 GB, free: 158.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01433/0.6792, allocations: 7.654 MB / 0.7202 GB, free: 155.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/0.6792, allocations: 3.719 kB / 0.7202 GB, free: 155.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008307/0.6801, allocations: 184.1 kB / 0.7204 GB, free: 155.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003678/0.6837, allocations: 1.126 MB / 0.7215 GB, free: 154.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001388/0.6839, allocations: 34.81 kB / 0.7215 GB, free: 154.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.014/0.6979, allocations: 12.89 MB / 0.7341 GB, free: 145.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.6979, allocations: 4.734 kB / 0.7341 GB, free: 145.2 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005155/0.703, allocations: 2.615 MB / 0.7366 GB, free: 143.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/0.7043, allocations: 431.8 kB / 0.737 GB, free: 143.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002523/0.7046, allocations: 38.14 kB / 0.7371 GB, free: 143.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009028/0.7055, allocations: 88.81 kB / 0.7372 GB, free: 143.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000453/0.7059, allocations: 168.6 kB / 0.7373 GB, free: 143.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/0.706, allocations: 49.53 kB / 0.7374 GB, free: 143.6 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001098/0.7071, allocations: 1.047 MB / 0.7384 GB, free: 143.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.1e-08/0.7071, allocations: 0 / 0.7384 GB, free: 143.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003243/0.7104, allocations: 0.9994 MB / 0.7394 GB, free: 143.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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002499/0.7106, allocations: 151.3 kB / 0.7395 GB, free: 143 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.005064/0.7157, allocations: 3.293 MB / 0.7427 GB, free: 141.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.7157, allocations: 0.9844 kB / 0.7427 GB, free: 141.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.003709/0.7194, allocations: 2.346 MB / 0.745 GB, free: 140 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003588/0.723, allocations: 0.7713 MB / 0.7458 GB, free: 139.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01529/0.7383, allocations: 7.964 MB / 0.7536 GB, free: 133.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004341/0.7426, allocations: 2.694 MB / 0.7562 GB, free: 131.9 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001328/0.7439, allocations: 384.5 kB / 0.7566 GB, free: 131.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003172/0.7443, allocations: 116.5 kB / 0.7567 GB, free: 131.5 MB / 0.6355 GB Notification: Performance of SimCode: time 1.503e-06/0.7443, allocations: 0.5469 kB / 0.7567 GB, free: 131.5 MB / 0.6355 GB Notification: Performance of Templates: time 0.0619/0.8062, allocations: 44.93 MB / 0.8005 GB, free: 89.22 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.884405744960532]