Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.0007945/0.0007945, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001172/0.001967, 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.0007141/0.0007141, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009413/0.001655, 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.9516/0.9516, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1026/1.054, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.7869/0.7869, allocations: 154.6 MB / 398.8 MB, free: 404 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2868/1.074, allocations: 49.05 MB / 447.8 MB, free: 6.602 MB / 426.7 MB " [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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 449.1 MB, free: 5.293 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.158e-05/1.299e-05, allocations: 4.422 kB / 449.2 MB, free: 5.289 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.008111/0.008124, allocations: 10.61 MB / 459.8 MB, free: 10.71 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007811/0.01593, allocations: 7.077 MB / 466.8 MB, free: 3.66 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007639/0.0167, allocations: 84.09 kB / 466.9 MB, free: 3.578 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000752/0.01745, allocations: 414 kB / 467.3 MB, free: 3.172 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002933/0.02038, allocations: 1.797 MB / 469.1 MB, free: 1.387 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.02154, allocations: 0.6494 MB / 469.8 MB, free: 0.7422 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003549/0.02509, allocations: 2.992 MB / 472.8 MB, free: 13.75 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00172/0.02681, allocations: 1.169 MB / 473.9 MB, free: 12.53 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00286/0.02967, allocations: 2.264 MB / 476.2 MB, free: 10.25 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.03071, allocations: 1.049 MB / 477.2 MB, free: 9.207 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001599/0.03087, allocations: 160 kB / 477.4 MB, free: 9.051 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005445/0.03142, allocations: 319.6 kB / 477.7 MB, free: 8.738 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003788/0.0318, allocations: 0.5735 MB / 478.3 MB, free: 8.164 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005253/0.03232, allocations: 0.538 MB / 478.8 MB, free: 7.625 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.03372, allocations: 1.465 MB / 480.3 MB, free: 6.156 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.198e-05/0.03373, allocations: 0 / 480.3 MB, free: 6.156 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.03373, allocations: 0 / 480.3 MB, free: 6.156 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.763e-05/0.03376, allocations: 0 / 480.3 MB, free: 6.156 MB / 458.7 MB 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.002175/0.03593, allocations: 2.384 MB / 482.7 MB, free: 3.746 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.03597, allocations: 12.03 kB / 482.7 MB, free: 3.734 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003035/0.03901, allocations: 0.9463 MB / 483.6 MB, free: 2.773 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.04019, allocations: 1.06 MB / 484.7 MB, free: 1.676 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.092e-05/0.04024, allocations: 91.33 kB / 484.8 MB, free: 1.586 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/0.0404, allocations: 124.3 kB / 484.9 MB, free: 1.465 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.04213, allocations: 1.613 MB / 486.5 MB, free: 15.66 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.04216, allocations: 15.86 kB / 486.5 MB, free: 15.64 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.04227, allocations: 55.98 kB / 486.6 MB, free: 15.59 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002769/0.04254, allocations: 143.3 kB / 486.7 MB, free: 15.45 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009991/0.04354, allocations: 0.5637 MB / 487.3 MB, free: 14.88 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005014/0.04856, allocations: 5.732 MB / 493 MB, free: 9.012 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009106/0.04947, allocations: 0.587 MB / 493.6 MB, free: 8.438 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/0.04977, allocations: 244 kB / 493.8 MB, free: 8.203 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.042e-05/0.04982, allocations: 17 kB / 493.9 MB, free: 8.184 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.04985, allocations: 43.5 kB / 493.9 MB, free: 8.133 MB / 474.7 MB Notification: Performance of pre-optimization done (n=89): time 1.914e-06/0.04986, allocations: 0 / 493.9 MB, free: 8.133 MB / 474.7 MB Notification: Performance of matching and sorting (n=90): time 0.00857/0.05843, allocations: 3.966 MB / 497.9 MB, free: 4.273 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.05846, allocations: 64.34 kB / 497.9 MB, free: 4.199 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000609/0.05907, allocations: 0.9028 MB / 498.8 MB, free: 3.289 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.237e-05/0.05914, allocations: 44.17 kB / 498.9 MB, free: 3.242 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000247/0.05939, allocations: 0.5812 MB / 499.5 MB, free: 2.652 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/0.05958, allocations: 325.1 kB / 499.8 MB, free: 2.332 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002313/0.05981, allocations: 190.7 kB / 500 MB, free: 2.141 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.265e-05/0.05991, allocations: 349.9 kB / 0.4886 GB, free: 1.793 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/0.06016, allocations: 196.9 kB / 0.4888 GB, free: 1.602 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003573/0.06051, allocations: 443.6 kB / 0.4892 GB, free: 1.078 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008679/0.06138, allocations: 0.729 MB / 0.4899 GB, free: 276 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.06139, allocations: 4 kB / 0.4899 GB, free: 272 kB / 474.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001894/0.06328, allocations: 1.274 MB / 0.4912 GB, free: 14.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.0633, allocations: 9.562 kB / 0.4912 GB, free: 14.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.06331, allocations: 8 kB / 0.4912 GB, free: 14.97 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002138/0.06545, allocations: 0.8636 MB / 0.492 GB, free: 14.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006187/0.06607, allocations: 211.7 kB / 0.4922 GB, free: 13.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006054/0.07213, allocations: 6.978 MB / 0.499 GB, free: 6.535 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005813/0.07271, allocations: 56.02 kB / 0.4991 GB, free: 6.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.808e-05/0.07278, allocations: 47.89 kB / 0.4991 GB, free: 6.434 MB / 490.7 MB 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 (73): * Single equations (assignments): 69 * 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 {(2,8,100.0%), (3,17,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003276/0.0731, allocations: 176.3 kB / 0.4993 GB, free: 6.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001842/0.07329, allocations: 120.8 kB / 0.4994 GB, free: 6.133 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002078/0.07536, allocations: 1.253 MB / 0.5006 GB, free: 4.852 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.07537, allocations: 11.94 kB / 0.5006 GB, free: 4.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.07538, allocations: 12 kB / 0.5007 GB, free: 4.828 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.07539, allocations: 3.984 kB / 0.5007 GB, free: 4.824 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00293/0.07832, allocations: 1.973 MB / 0.5026 GB, free: 2.785 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.07832, allocations: 4.031 kB / 0.5026 GB, free: 2.781 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004604/0.07878, allocations: 139.8 kB / 0.5027 GB, free: 2.645 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003109/0.07909, allocations: 242.9 kB / 0.503 GB, free: 2.406 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002274/0.08137, allocations: 0.8496 MB / 0.5038 GB, free: 1.543 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.406e-05/0.08143, allocations: 35.95 kB / 0.5038 GB, free: 1.508 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005727/0.08716, allocations: 7.002 MB / 0.5107 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.08716, allocations: 0 / 0.5107 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/0.08903, allocations: 1.262 MB / 0.5119 GB, free: 8.816 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.08916, allocations: 19.98 kB / 0.5119 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004316/0.08959, allocations: 39.98 kB / 0.5119 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002013/0.08979, allocations: 88.77 kB / 0.512 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.447e-05/0.08984, allocations: 31.97 kB / 0.5121 GB, free: 8.641 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003544/0.0902, allocations: 459.7 kB / 0.5125 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.0902, allocations: 0 / 0.5125 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00129/0.09149, allocations: 492 kB / 0.513 GB, free: 7.707 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (37): * Single equations (assignments): 33 * 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 {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002504/0.09174, allocations: 104.4 kB / 0.5131 GB, free: 7.598 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0019/0.09364, allocations: 1.478 MB / 0.5145 GB, free: 6.07 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-05/0.09368, allocations: 35.09 kB / 0.5145 GB, free: 6.039 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00123/0.09491, allocations: 1.161 MB / 0.5157 GB, free: 4.824 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002702/0.09762, allocations: 4.762 MB / 0.5203 GB, free: 15.14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00823/0.1058, allocations: 2.571 MB / 0.5228 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.1062, allocations: 408 kB / 0.5232 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007482/0.107, allocations: 279.3 kB / 0.5235 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009337/0.1079, allocations: 407 kB / 0.5239 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of SimCode: time 1.322e-06/0.1079, allocations: 0 / 0.5239 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of Templates: time 0.03889/0.1468, allocations: 36.72 MB / 0.5597 GB, free: 7.438 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.080441717989743]