Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008934/0.008933, allocations: 101.1 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 190.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.859/1.859, allocations: 205.1 MB / 222.5 MB, free: 4.363 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.851/1.851, allocations: 251.7 MB / 0.5094 GB, free: 2.996 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 67.91 kB / 0.7258 GB, free: 8.992 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3377, allocations: 104.7 MB / 0.828 GB, free: 176 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01462/0.3524, allocations: 10.83 MB / 0.8386 GB, free: 5.293 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01616/0.3686, allocations: 8.859 MB / 0.8473 GB, free: 12.41 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002551/0.3712, allocations: 55.62 kB / 0.8473 GB, free: 12.35 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005631/0.377, allocations: 1.671 MB / 0.849 GB, free: 10.68 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008149/0.3851, allocations: 1.571 MB / 0.8505 GB, free: 9.102 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003381/0.3885, allocations: 0.6744 MB / 0.8511 GB, free: 8.426 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005439/0.394, allocations: 2.282 MB / 0.8534 GB, free: 6.137 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003458/0.3975, allocations: 1.38 MB / 0.8547 GB, free: 4.723 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003025/0.4005, allocations: 1.004 MB / 0.8557 GB, free: 3.715 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002962/0.4035, allocations: 1.012 MB / 0.8567 GB, free: 2.699 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0008205/0.4044, allocations: 144 kB / 0.8568 GB, free: 2.559 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003026/0.4074, allocations: 0.8032 MB / 0.8576 GB, free: 1.754 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001259/0.4087, allocations: 0.5647 MB / 0.8582 GB, free: 1.188 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002837/0.4115, allocations: 0.8901 MB / 0.859 GB, free: 300 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00613/0.4177, allocations: 2.566 MB / 0.8615 GB, free: 13.72 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.4177, allocations: 0 / 0.8615 GB, free: 13.72 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.096e-06/0.4177, allocations: 4 kB / 0.8615 GB, free: 13.71 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001374/0.4179, allocations: 0 / 0.8615 GB, free: 13.71 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.007254/0.4252, allocations: 2.024 MB / 0.8635 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 7.04e-05/0.4252, allocations: 12.03 kB / 0.8635 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01204/0.4373, allocations: 2.05 MB / 0.8655 GB, free: 9.57 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003255/0.4406, allocations: 1.208 MB / 0.8667 GB, free: 8.305 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.4407, allocations: 90.69 kB / 0.8668 GB, free: 8.215 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002714/0.441, allocations: 120 kB / 0.8669 GB, free: 8.098 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006337/0.4474, allocations: 2.482 MB / 0.8693 GB, free: 5.465 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.74e-05/0.4474, allocations: 0 / 0.8693 GB, free: 5.465 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/0.4476, allocations: 55.98 kB / 0.8694 GB, free: 5.41 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003972/0.448, allocations: 126.1 kB / 0.8695 GB, free: 5.285 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007671/0.4557, allocations: 2.549 MB / 0.872 GB, free: 2.727 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01805/0.4738, allocations: 10.03 MB / 0.8818 GB, free: 8.027 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00657/0.4805, allocations: 1.952 MB / 0.8837 GB, free: 6.047 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002866/0.4834, allocations: 0.9699 MB / 0.8847 GB, free: 5.074 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 4.884e-05/0.4834, allocations: 8.422 kB / 0.8847 GB, free: 5.066 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.517e-05/0.4835, allocations: 42.94 kB / 0.8847 GB, free: 5.016 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=53): time 4.268e-06/0.4835, allocations: 0 / 0.8847 GB, free: 5.016 MB / 0.7012 GB Notification: Performance of matching and sorting (n=81): time 0.03308/0.5166, allocations: 8.722 MB / 0.8932 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.486e-05/0.5167, allocations: 60.06 kB / 0.8933 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00187/0.5186, allocations: 1.093 MB / 0.8943 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001401/0.5188, allocations: 41.69 kB / 0.8944 GB, free: 11 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006861/0.5195, allocations: 0.7379 MB / 0.8951 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003499/0.5198, allocations: 276 kB / 0.8954 GB, free: 9.984 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004401/0.5203, allocations: 206.3 kB / 0.8956 GB, free: 9.777 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.00021/0.5205, allocations: 345.9 kB / 0.8959 GB, free: 9.434 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00303/0.5235, allocations: 1.071 MB / 0.8969 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003249/0.5268, allocations: 1.297 MB / 0.8982 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006329/0.5332, allocations: 2.382 MB / 0.9005 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.5332, allocations: 0 / 0.9005 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009684/0.5429, allocations: 3.276 MB / 0.9037 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.003e-05/0.543, allocations: 14.97 kB / 0.9037 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/0.543, allocations: 4 kB / 0.9038 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002861/0.5459, allocations: 0.7918 MB / 0.9045 GB, free: 352 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/0.548, allocations: 419.3 kB / 0.9049 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8011/1.349, allocations: 15.91 MB / 0.9205 GB, free: 83.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003257/1.352, allocations: 293.3 kB / 0.9207 GB, free: 83.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002383/1.353, allocations: 54.83 kB / 0.9208 GB, free: 83.8 MB / 0.7325 GB 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.001236/1.354, allocations: 400.6 kB / 0.9212 GB, free: 83.68 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005112/1.354, allocations: 142.2 kB / 0.9213 GB, free: 83.68 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/1.366, allocations: 3.207 MB / 0.9244 GB, free: 83.56 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.012e-05/1.366, allocations: 8.25 kB / 0.9245 GB, free: 83.56 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-05/1.366, allocations: 11.06 kB / 0.9245 GB, free: 83.56 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-05/1.366, allocations: 4.125 kB / 0.9245 GB, free: 83.56 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01648/1.382, allocations: 4.901 MB / 0.9293 GB, free: 82.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/1.382, allocations: 6.297 kB / 0.9293 GB, free: 82.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002115/1.385, allocations: 355.2 kB / 0.9296 GB, free: 82.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003037/1.388, allocations: 0.6923 MB / 0.9303 GB, free: 82.14 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001446/1.388, allocations: 32.66 kB / 0.9303 GB, free: 82.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01557/1.403, allocations: 15.53 MB / 0.9455 GB, free: 69.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/1.403, allocations: 4.594 kB / 0.9455 GB, free: 69.16 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009558/1.413, allocations: 3.049 MB / 0.9485 GB, free: 68.17 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000965/1.414, allocations: 381.9 kB / 0.9488 GB, free: 67.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002278/1.414, allocations: 20.05 kB / 0.9488 GB, free: 67.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002067/1.416, allocations: 291.2 kB / 0.9491 GB, free: 67.93 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004362/1.417, allocations: 79.69 kB / 0.9492 GB, free: 67.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/1.417, allocations: 38.19 kB / 0.9492 GB, free: 67.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001316/1.418, allocations: 0.7451 MB / 0.95 GB, free: 67.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.418, allocations: 0 / 0.95 GB, free: 67.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002052/1.42, allocations: 431.7 kB / 0.9504 GB, free: 67.57 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003187/1.421, allocations: 131.3 kB / 0.9505 GB, free: 67.46 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.009889/1.431, allocations: 3.633 MB / 0.954 GB, free: 65.81 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.288e-05/1.431, allocations: 1.125 kB / 0.954 GB, free: 65.81 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.005327/1.436, allocations: 2.37 MB / 0.9564 GB, free: 64.52 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002813/1.439, allocations: 0.5213 MB / 0.9569 GB, free: 64.38 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009242/1.448, allocations: 3.447 MB / 0.9602 GB, free: 62.95 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001333/1.449, allocations: 1.393 MB / 0.9616 GB, free: 62.14 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001746/1.451, allocations: 372.8 kB / 0.9619 GB, free: 62 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000381/1.452, allocations: 100.8 kB / 0.962 GB, free: 62 MB / 0.7325 GB Notification: Performance of SimCode: time 1.263e-06/1.452, allocations: 0 / 0.962 GB, free: 62 MB / 0.7325 GB Notification: Performance of Templates: time 0.05403/1.506, allocations: 30.5 MB / 0.9918 GB, free: 39.59 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)