Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001339/0.001339, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0016/0.0016, allocations: 173 kB / 23.36 MB, free: 1.133 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.9929/0.9929, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.797/0.797, 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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 480 MB, free: 6.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177e-05/1.323e-05, allocations: 6.562 kB / 480 MB, free: 6.969 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.00412/0.004133, allocations: 4.809 MB / 484.8 MB, free: 2.195 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.006078, allocations: 1.756 MB / 486.6 MB, free: 460 kB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001891/0.006267, allocations: 35.69 kB / 486.6 MB, free: 424 kB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004893/0.006757, allocations: 211 kB / 486.8 MB, free: 212 kB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004717/0.007228, allocations: 451 kB / 487.2 MB, free: 15.77 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004511/0.007679, allocations: 407 kB / 487.6 MB, free: 15.38 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007623/0.008442, allocations: 1.275 MB / 488.9 MB, free: 14.09 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004892/0.008931, allocations: 0.5791 MB / 489.5 MB, free: 13.51 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004954/0.009426, allocations: 0.6664 MB / 490.2 MB, free: 12.84 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004222/0.009848, allocations: 485.2 kB / 490.6 MB, free: 12.37 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.611e-05/0.009915, allocations: 64.62 kB / 490.7 MB, free: 12.3 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.01008, allocations: 144.4 kB / 490.8 MB, free: 12.16 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001901/0.01027, allocations: 327.1 kB / 491.2 MB, free: 11.84 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000212/0.01048, allocations: 307.9 kB / 491.5 MB, free: 11.54 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005203/0.011, allocations: 0.7513 MB / 492.2 MB, free: 10.79 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.01101, allocations: 4.562 kB / 492.2 MB, free: 10.79 MB / 458.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.01101, allocations: 0.625 kB / 492.2 MB, free: 10.79 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.01101, allocations: 0 / 492.2 MB, free: 10.79 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.0009399/0.01195, allocations: 1.031 MB / 493.2 MB, free: 9.734 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.697e-05/0.01198, allocations: 12.75 kB / 493.3 MB, free: 9.723 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006723/0.01265, allocations: 265.5 kB / 493.5 MB, free: 9.465 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005085/0.01316, allocations: 0.5158 MB / 494 MB, free: 8.934 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.01319, allocations: 45.69 kB / 494.1 MB, free: 8.887 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.964e-05/0.01326, allocations: 68.36 kB / 494.1 MB, free: 8.82 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006637/0.01392, allocations: 0.9562 MB / 495.1 MB, free: 7.691 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.01394, allocations: 8.922 kB / 495.1 MB, free: 7.684 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.148e-05/0.01398, allocations: 28.38 kB / 495.1 MB, free: 7.656 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.014e-05/0.01407, allocations: 90.91 kB / 495.2 MB, free: 7.57 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002923/0.01437, allocations: 264.6 kB / 495.5 MB, free: 7.312 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0023/0.01667, allocations: 3.905 MB / 499.4 MB, free: 3.277 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000356/0.01702, allocations: 278.2 kB / 499.7 MB, free: 2.992 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.01713, allocations: 106.3 kB / 499.8 MB, free: 2.887 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.01716, allocations: 8.5 kB / 499.8 MB, free: 2.879 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.01718, allocations: 43.06 kB / 499.8 MB, free: 2.828 MB / 458.7 MB Notification: Performance of pre-optimization done (n=47): time 2.255e-06/0.01718, allocations: 4.078 kB / 499.8 MB, free: 2.828 MB / 458.7 MB Notification: Performance of matching and sorting (n=48): time 0.001421/0.0186, allocations: 0.8061 MB / 0.4889 GB, free: 2.016 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/0.01863, allocations: 55.91 kB / 0.4889 GB, free: 1.949 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.01889, allocations: 487.5 kB / 0.4894 GB, free: 1.465 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.01892, allocations: 37.64 kB / 0.4894 GB, free: 1.422 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.01907, allocations: 378.1 kB / 0.4898 GB, free: 1.051 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.681e-05/0.01915, allocations: 178.5 kB / 0.49 GB, free: 0.875 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.01927, allocations: 126.5 kB / 0.4901 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.432e-05/0.01937, allocations: 374.6 kB / 0.4904 GB, free: 376 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.991e-05/0.01946, allocations: 74.62 kB / 0.4905 GB, free: 304 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.01965, allocations: 293 kB / 0.4908 GB, free: 15.92 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003465/0.01999, allocations: 440.6 kB / 0.4912 GB, free: 15.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.02, allocations: 1.531 kB / 0.4912 GB, free: 15.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0006472/0.02064, allocations: 0.5606 MB / 0.4918 GB, free: 14.82 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.02066, allocations: 8.656 kB / 0.4918 GB, free: 14.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.02067, allocations: 8.75 kB / 0.4918 GB, free: 14.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006307/0.0213, allocations: 302.4 kB / 0.4921 GB, free: 14.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.02152, allocations: 107.8 kB / 0.4922 GB, free: 14.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002993/0.02451, allocations: 5.302 MB / 0.4974 GB, free: 8.719 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/0.02475, allocations: 20.8 kB / 0.4974 GB, free: 8.699 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/0.02478, allocations: 28.56 kB / 0.4974 GB, free: 8.672 MB / 474.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 (67): * Single equations (assignments): 63 * 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,6,100.0%), (2,4,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.000154/0.02494, allocations: 154.1 kB / 0.4975 GB, free: 8.512 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.977e-05/0.02501, allocations: 59.94 kB / 0.4976 GB, free: 8.453 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005416/0.02555, allocations: 454.2 kB / 0.498 GB, free: 7.98 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.02555, allocations: 4 kB / 0.498 GB, free: 7.977 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.02556, allocations: 4 kB / 0.498 GB, free: 7.973 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.02556, allocations: 5.406 kB / 0.4981 GB, free: 7.969 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.02666, allocations: 0.8889 MB / 0.4989 GB, free: 7.027 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.02666, allocations: 0 / 0.4989 GB, free: 7.027 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.02678, allocations: 39.98 kB / 0.499 GB, free: 6.988 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005639/0.02734, allocations: 291.5 kB / 0.4992 GB, free: 6.699 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.02736, allocations: 9.469 kB / 0.4992 GB, free: 6.691 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00275/0.03011, allocations: 5.285 MB / 0.5044 GB, free: 1.039 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.03011, allocations: 0 / 0.5044 GB, free: 1.039 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005213/0.03063, allocations: 0.5993 MB / 0.505 GB, free: 400 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.03074, allocations: 83.55 kB / 0.5051 GB, free: 316 kB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.165e-05/0.03078, allocations: 8 kB / 0.5051 GB, free: 308 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.03092, allocations: 19.98 kB / 0.5051 GB, free: 288 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.54e-05/0.031, allocations: 40.42 kB / 0.5051 GB, free: 248 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.03102, allocations: 12 kB / 0.5051 GB, free: 236 kB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001337/0.03115, allocations: 209.5 kB / 0.5053 GB, free: 28 kB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03115, allocations: 0 / 0.5053 GB, free: 28 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004451/0.03159, allocations: 228 kB / 0.5056 GB, free: 15.8 MB / 490.7 MB 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 (31): * Single equations (assignments): 27 * 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,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.152e-05/0.03169, allocations: 102.8 kB / 0.5057 GB, free: 15.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007316/0.03242, allocations: 0.8973 MB / 0.5065 GB, free: 14.76 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/0.03243, allocations: 8.5 kB / 0.5065 GB, free: 14.75 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004803/0.03291, allocations: 0.7105 MB / 0.5072 GB, free: 13.99 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004592/0.03337, allocations: 196.2 kB / 0.5074 GB, free: 13.81 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.0347, allocations: 1.274 MB / 0.5087 GB, free: 12.49 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003766/0.03508, allocations: 211.4 kB / 0.5089 GB, free: 12.26 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001748/0.03525, allocations: 78.36 kB / 0.5089 GB, free: 12.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002659/0.03552, allocations: 210 kB / 0.5091 GB, free: 11.99 MB / 490.7 MB Notification: Performance of SimCode: time 7.02e-07/0.03552, allocations: 0 / 0.5091 GB, free: 11.99 MB / 490.7 MB Notification: Performance of Templates: time 0.01313/0.04865, allocations: 12.08 MB / 0.5209 GB, free: 388 kB / 490.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7904947651550174]