Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.871/1.871, allocations: 292.3 MB / 308.1 MB, free: 4.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00181/0.00181, allocations: 194.2 kB / 376.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.991/1.991, allocations: 205 MB / 0.6353 GB, free: 9.816 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 97.58 kB / 0.748 GB, free: 61.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 51.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3334, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.0138/0.3473, allocations: 10.78 MB / 0.9927 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01456/0.362, allocations: 8.879 MB / 1.001 GB, free: 6.672 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002465/0.3645, allocations: 51.69 kB / 1.001 GB, free: 6.621 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.004607/0.3691, allocations: 1.549 MB / 1.003 GB, free: 5.066 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.006739/0.3759, allocations: 1.402 MB / 1.004 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.00261/0.3785, allocations: 0.6044 MB / 1.005 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.00516/0.3836, allocations: 2.922 MB / 1.008 GB, free: 124 kB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003109/0.3868, allocations: 1.336 MB / 1.009 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002606/0.3894, allocations: 0.8986 MB / 1.01 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002474/0.3919, allocations: 1.027 MB / 1.011 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0005158/0.3924, allocations: 84 kB / 1.011 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00256/0.395, allocations: 0.9046 MB / 1.012 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0009748/0.396, allocations: 0.5178 MB / 1.012 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001478/0.3975, allocations: 0.8314 MB / 1.013 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.003361/0.4008, allocations: 2.546 MB / 1.016 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.4009, allocations: 0 / 1.016 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.01e-07/0.4009, allocations: 4 kB / 1.016 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.61e-05/0.4009, allocations: 0 / 1.016 GB, free: 7.918 MB / 0.7448 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.003705/0.4046, allocations: 2.014 MB / 1.018 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.4047, allocations: 8.031 kB / 1.018 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01065/0.4153, allocations: 2.046 MB / 1.02 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002774/0.4182, allocations: 1.126 MB / 1.021 GB, free: 2.605 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.637e-05/0.4182, allocations: 98.62 kB / 1.021 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002151/0.4185, allocations: 120 kB / 1.021 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6743/1.093, allocations: 2.471 MB / 1.023 GB, free: 96.71 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-05/1.093, allocations: 10.81 kB / 1.023 GB, free: 96.71 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001946/1.093, allocations: 52.86 kB / 1.024 GB, free: 96.71 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004358/1.094, allocations: 128.2 kB / 1.024 GB, free: 96.71 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007697/1.101, allocations: 2.537 MB / 1.026 GB, free: 96.69 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01367/1.115, allocations: 10.06 MB / 1.036 GB, free: 91.15 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007641/1.123, allocations: 1.955 MB / 1.038 GB, free: 91.02 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003151/1.126, allocations: 0.972 MB / 1.039 GB, free: 91.02 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.495e-05/1.126, allocations: 5.312 kB / 1.039 GB, free: 91.02 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/1.126, allocations: 46.02 kB / 1.039 GB, free: 90.98 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=53): time 3.687e-06/1.126, allocations: 0 / 1.039 GB, free: 90.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=81): time 0.0325/1.159, allocations: 8.711 MB / 1.047 GB, free: 89.75 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/1.159, allocations: 65.5 kB / 1.047 GB, free: 89.68 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/1.16, allocations: 1.09 MB / 1.048 GB, free: 89.25 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001202/1.16, allocations: 44.19 kB / 1.049 GB, free: 89.2 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004224/1.161, allocations: 0.739 MB / 1.049 GB, free: 88.62 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002319/1.161, allocations: 283 kB / 1.05 GB, free: 88.41 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003789/1.161, allocations: 197 kB / 1.05 GB, free: 88.32 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000111/1.162, allocations: 349.4 kB / 1.05 GB, free: 88 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002682/1.164, allocations: 1.072 MB / 1.051 GB, free: 87.72 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00274/1.167, allocations: 1.311 MB / 1.052 GB, free: 87.17 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005446/1.172, allocations: 2.384 MB / 1.055 GB, free: 86.27 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/1.172, allocations: 3.219 kB / 1.055 GB, free: 86.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.007974/1.18, allocations: 3.274 MB / 1.058 GB, free: 85.28 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.335e-05/1.18, allocations: 9.312 kB / 1.058 GB, free: 85.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/1.181, allocations: 7.219 kB / 1.058 GB, free: 85.28 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002602/1.183, allocations: 0.7916 MB / 1.059 GB, free: 85.04 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/1.185, allocations: 413.1 kB / 1.059 GB, free: 85.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01269/1.198, allocations: 14.7 MB / 1.073 GB, free: 72.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002626/1.2, allocations: 291.5 kB / 1.074 GB, free: 72.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/1.2, allocations: 57.25 kB / 1.074 GB, free: 72.77 MB / 0.7448 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.0008428/1.201, allocations: 395.4 kB / 1.074 GB, free: 72.53 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/1.202, allocations: 145.6 kB / 1.074 GB, free: 72.46 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008307/1.21, allocations: 3.209 MB / 1.077 GB, free: 71.49 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/1.21, allocations: 6 kB / 1.077 GB, free: 71.49 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/1.21, allocations: 8.125 kB / 1.077 GB, free: 71.49 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/1.21, allocations: 3.281 kB / 1.077 GB, free: 71.49 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01101/1.221, allocations: 4.904 MB / 1.082 GB, free: 69.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/1.221, allocations: 3.188 kB / 1.082 GB, free: 69.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001582/1.223, allocations: 353.5 kB / 1.083 GB, free: 69.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002152/1.225, allocations: 0.7007 MB / 1.083 GB, free: 69.53 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.035e-05/1.225, allocations: 31.94 kB / 1.083 GB, free: 69.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01166/1.237, allocations: 14.32 MB / 1.097 GB, free: 57.44 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/1.237, allocations: 2.438 kB / 1.097 GB, free: 57.44 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01153/1.248, allocations: 5.202 MB / 1.102 GB, free: 55.26 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009769/1.249, allocations: 388.7 kB / 1.103 GB, free: 55.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/1.249, allocations: 19.69 kB / 1.103 GB, free: 55 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001866/1.251, allocations: 289.8 kB / 1.103 GB, free: 54.98 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004062/1.252, allocations: 85.58 kB / 1.103 GB, free: 54.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.806e-05/1.252, allocations: 41.3 kB / 1.103 GB, free: 54.95 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001049/1.253, allocations: 0.7388 MB / 1.104 GB, free: 54.66 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.11e-07/1.253, allocations: 0 / 1.104 GB, free: 54.66 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002202/1.255, allocations: 432.9 kB / 1.104 GB, free: 54.62 MB / 0.7448 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.0002703/1.255, allocations: 139 kB / 1.104 GB, free: 54.5 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.008389/1.264, allocations: 3.61 MB / 1.108 GB, free: 52.86 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/1.264, allocations: 0 / 1.108 GB, free: 52.86 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.004421/1.268, allocations: 2.374 MB / 1.11 GB, free: 51.56 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002372/1.271, allocations: 493 kB / 1.111 GB, free: 51.44 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007685/1.278, allocations: 4.514 MB / 1.115 GB, free: 49.04 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008594/1.279, allocations: 1.411 MB / 1.116 GB, free: 48.24 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001592/1.281, allocations: 381.5 kB / 1.117 GB, free: 48.14 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003375/1.281, allocations: 107.4 kB / 1.117 GB, free: 48.14 MB / 0.7448 GB Notification: Performance of SimCode: time 1.453e-06/1.281, allocations: 0 / 1.117 GB, free: 48.14 MB / 0.7448 GB Notification: Performance of Templates: time 0.06325/1.344, allocations: 30.27 MB / 1.147 GB, free: 42.28 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)