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.0009319/0.0009319, allocations: 92.22 kB / 19.65 MB, free: 276 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.001111/0.001111, allocations: 173 kB / 23.03 MB, free: 1.543 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.9511/0.9511, allocations: 177.2 MB / 203.4 MB, free: 5.602 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.8075/0.8075, allocations: 154.6 MB / 414.5 MB, free: 0.6289 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.683e-06/1.683e-06, allocations: 0 / 0.5203 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.789e-05/2.958e-05, allocations: 2.312 kB / 0.5204 GB, free: 2.176 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.01827/0.0183, allocations: 17.45 MB / 0.5374 GB, free: 0.6797 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.007953/0.02625, allocations: 5.095 MB / 0.5424 GB, free: 11.6 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002034/0.02828, allocations: 194.6 kB / 0.5426 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001775/0.03006, allocations: 0.7407 MB / 0.5433 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003027/0.03309, allocations: 1.655 MB / 0.5449 GB, free: 9.008 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002677/0.03576, allocations: 1.564 MB / 0.5464 GB, free: 7.445 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.006848/0.04261, allocations: 7.343 MB / 0.5536 GB, free: 84 kB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006072/0.04868, allocations: 5.086 MB / 0.5586 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005616/0.0543, allocations: 4.561 MB / 0.563 GB, free: 6.309 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004779/0.05908, allocations: 3.541 MB / 0.5665 GB, free: 2.762 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.00146/0.06054, allocations: 0.6445 MB / 0.5671 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00171/0.06225, allocations: 0.738 MB / 0.5678 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.002581/0.06483, allocations: 2.761 MB / 0.5705 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.00318/0.06801, allocations: 2.027 MB / 0.5725 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.005041/0.07305, allocations: 5.025 MB / 0.5774 GB, free: 7.543 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.07306, allocations: 4 kB / 0.5774 GB, free: 7.539 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.924e-06/0.07306, allocations: 3.938 kB / 0.5774 GB, free: 7.535 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.000237/0.0733, allocations: 1.281 kB / 0.5774 GB, free: 7.535 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.006487/0.07979, allocations: 5.151 MB / 0.5824 GB, free: 2.328 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.07983, allocations: 8.031 kB / 0.5824 GB, free: 2.32 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002908/0.08274, allocations: 1.481 MB / 0.5839 GB, free: 0.8359 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003368/0.0861, allocations: 2.913 MB / 0.5867 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001678/0.08627, allocations: 349.7 kB / 0.5871 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004643/0.08674, allocations: 476.2 kB / 0.5875 GB, free: 13.08 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005925/0.09266, allocations: 4.768 MB / 0.5922 GB, free: 7.781 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001029/0.09276, allocations: 23.95 kB / 0.5922 GB, free: 7.758 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003048/0.09307, allocations: 201.3 kB / 0.5924 GB, free: 7.562 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002333/0.0933, allocations: 320.9 kB / 0.5927 GB, free: 7.246 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003431/0.09673, allocations: 1.757 MB / 0.5944 GB, free: 5.48 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01805/0.1148, allocations: 25.08 MB / 0.6189 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.1159, allocations: 0.7876 MB / 0.6197 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006025/0.1165, allocations: 0.5052 MB / 0.6202 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 6.269e-05/0.1166, allocations: 21.31 kB / 0.6202 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.1166, allocations: 50.7 kB / 0.6202 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=133): time 4.077e-06/0.1166, allocations: 1.406 kB / 0.6202 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of matching and sorting (n=136): time 0.006376/0.123, allocations: 3.759 MB / 0.6239 GB, free: 6.496 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.123, allocations: 64.72 kB / 0.624 GB, free: 6.418 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.1241, allocations: 1.327 MB / 0.6253 GB, free: 5.078 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.43e-05/0.1242, allocations: 50.48 kB / 0.6253 GB, free: 5.023 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009332/0.1251, allocations: 2.111 MB / 0.6274 GB, free: 2.895 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003024/0.1254, allocations: 0.512 MB / 0.6279 GB, free: 2.379 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003249/0.1258, allocations: 349 kB / 0.6282 GB, free: 2.031 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1259, allocations: 482 kB / 0.6287 GB, free: 1.559 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004654/0.1263, allocations: 319.8 kB / 0.629 GB, free: 1.246 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008709/0.1272, allocations: 1.29 MB / 0.6302 GB, free: 15.53 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.1287, allocations: 1.777 MB / 0.632 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.1287, allocations: 8 kB / 0.632 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.002921/0.1317, allocations: 2.178 MB / 0.6341 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.1317, allocations: 16 kB / 0.6341 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/0.1317, allocations: 24 kB / 0.6342 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001495/0.1332, allocations: 0.703 MB / 0.6348 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006357/0.1338, allocations: 347.4 kB / 0.6352 GB, free: 9.961 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01094/0.1448, allocations: 23.79 MB / 0.6584 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.1458, allocations: 99.86 kB / 0.6585 GB, free: 0.6016 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.714e-05/0.1459, allocations: 91.98 kB / 0.6586 GB, free: 0.5117 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.0009448/0.1469, allocations: 287.9 kB / 0.6589 GB, free: 224 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/0.1471, allocations: 242.8 kB / 0.6591 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002136/0.1492, allocations: 1.614 MB / 0.6607 GB, free: 14.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.1493, allocations: 16 kB / 0.6607 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.1493, allocations: 8 kB / 0.6607 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.1493, allocations: 3.984 kB / 0.6607 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005943/0.1552, allocations: 4.787 MB / 0.6654 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.1552, allocations: 7.938 kB / 0.6654 GB, free: 9.312 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004185/0.1556, allocations: 175.7 kB / 0.6655 GB, free: 9.141 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001363/0.157, allocations: 0.6484 MB / 0.6662 GB, free: 8.441 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.62e-05/0.1571, allocations: 28 kB / 0.6662 GB, free: 8.414 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2337/0.3908, allocations: 22.72 MB / 0.6884 GB, free: 143.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.3908, allocations: 9.781 kB / 0.6884 GB, free: 143.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002494/0.3933, allocations: 1.872 MB / 0.6902 GB, free: 142.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006101/0.3939, allocations: 359.4 kB / 0.6906 GB, free: 142.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.394, allocations: 28.72 kB / 0.6906 GB, free: 142.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004086/0.3944, allocations: 70.11 kB / 0.6907 GB, free: 142.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002865/0.3947, allocations: 135.2 kB / 0.6908 GB, free: 142.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.988e-05/0.3948, allocations: 35.12 kB / 0.6908 GB, free: 142.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006197/0.3954, allocations: 0.7555 MB / 0.6916 GB, free: 142.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3954, allocations: 0 / 0.6916 GB, free: 142.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00206/0.3975, allocations: 0.7946 MB / 0.6923 GB, free: 142.7 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.0002359/0.3977, allocations: 140.8 kB / 0.6925 GB, free: 142.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002659/0.4003, allocations: 3.523 MB / 0.6959 GB, free: 140.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.4004, allocations: 2.906 kB / 0.6959 GB, free: 140.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001662/0.402, allocations: 2.84 MB / 0.6987 GB, free: 138.4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/0.4039, allocations: 0.7184 MB / 0.6994 GB, free: 138.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009531/0.4134, allocations: 6.563 MB / 0.7058 GB, free: 135.6 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/0.4147, allocations: 1.134 MB / 0.7069 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001188/0.4159, allocations: 371.6 kB / 0.7073 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002558/0.4162, allocations: 108.9 kB / 0.7074 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of SimCode: time 1.593e-06/0.4162, allocations: 1.125 kB / 0.7074 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of Templates: time 0.05796/0.4741, allocations: 38.27 MB / 0.7447 GB, free: 127.3 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.637345424853265]