Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.88/1.88, allocations: 292.3 MB / 308.1 MB, free: 4.266 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.002041/0.002041, allocations: 190.4 kB / 376.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.076/2.076, allocations: 205.1 MB / 0.6354 GB, free: 9.812 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.001137/0.001136, allocations: 96.7 kB / 0.748 GB, free: 61.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001306, allocations: 55.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.348, 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_L): time 0.01005/0.3581, allocations: 6.064 MB / 0.9881 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.006283/0.3644, allocations: 3.235 MB / 0.9913 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.3655, allocations: 27.81 kB / 0.9913 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002639/0.3682, allocations: 0.8603 MB / 0.9922 GB, free: 180 kB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001903/0.3701, allocations: 442.1 kB / 0.9926 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001674/0.3718, allocations: 451.1 kB / 0.993 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.002276/0.3741, allocations: 1.463 MB / 0.9945 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001353/0.3755, allocations: 0.6366 MB / 0.9951 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.3766, allocations: 394.3 kB / 0.9954 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00119/0.3778, allocations: 482.2 kB / 0.9959 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0002285/0.3781, allocations: 40 kB / 0.9959 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00164/0.3797, allocations: 0.5808 MB / 0.9965 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0005308/0.3803, allocations: 271.3 kB / 0.9968 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0008853/0.3812, allocations: 381.9 kB / 0.9971 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.002257/0.3834, allocations: 1.184 MB / 0.9983 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.94e-05/0.3835, allocations: 0 / 0.9983 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.891e-06/0.3835, allocations: 4 kB / 0.9983 GB, free: 9.879 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.562e-05/0.3836, allocations: 0 / 0.9983 GB, free: 9.879 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.003/0.3866, allocations: 1.056 MB / 0.9993 GB, free: 8.77 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.3867, allocations: 8.031 kB / 0.9993 GB, free: 8.762 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001846/0.3885, allocations: 215.7 kB / 0.9995 GB, free: 8.551 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/0.3898, allocations: 0.5336 MB / 1 GB, free: 7.977 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.522e-05/0.3899, allocations: 49.67 kB / 1 GB, free: 7.93 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.39, allocations: 60.36 kB / 1 GB, free: 7.871 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/0.3919, allocations: 1.034 MB / 1.001 GB, free: 6.73 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.88e-05/0.392, allocations: 11.84 kB / 1.001 GB, free: 6.719 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.247e-05/0.3921, allocations: 35.98 kB / 1.001 GB, free: 6.684 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001046/0.3922, allocations: 65.27 kB / 1.001 GB, free: 6.621 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.3935, allocations: 0.6918 MB / 1.002 GB, free: 5.93 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006842/0.4003, allocations: 5.756 MB / 1.008 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000951/0.4013, allocations: 0.5961 MB / 1.008 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008459/0.4022, allocations: 428.5 kB / 1.009 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.599e-05/0.4022, allocations: 4 kB / 1.009 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.734e-05/0.4023, allocations: 34.56 kB / 1.009 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=41): time 2.484e-06/0.4023, allocations: 0 / 1.009 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=42): time 0.005014/0.4073, allocations: 2.058 MB / 1.011 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/0.4074, allocations: 55.41 kB / 1.011 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006841/0.4081, allocations: 458.7 kB / 1.011 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.4081, allocations: 33.7 kB / 1.011 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003653/0.4085, allocations: 387 kB / 1.012 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.4087, allocations: 149.9 kB / 1.012 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/0.4089, allocations: 114.2 kB / 1.012 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.4091, allocations: 370.8 kB / 1.012 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004025/0.4095, allocations: 245.2 kB / 1.012 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005548/0.4101, allocations: 457 kB / 1.013 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.4112, allocations: 0.7559 MB / 1.014 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.4112, allocations: 0 / 1.014 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002252/0.4135, allocations: 1.07 MB / 1.015 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.911e-05/0.4135, allocations: 8 kB / 1.015 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/0.4136, allocations: 8 kB / 1.015 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/0.4148, allocations: 331.4 kB / 1.015 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003259/0.4152, allocations: 91.83 kB / 1.015 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008108/0.4233, allocations: 6.95 MB / 1.022 GB, free: 256 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008179/0.4241, allocations: 28.03 kB / 1.022 GB, free: 228 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/0.4243, allocations: 35.92 kB / 1.022 GB, free: 192 kB / 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.643/1.067, allocations: 235.8 kB / 1.022 GB, free: 97.79 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/1.068, allocations: 62.84 kB / 1.022 GB, free: 97.79 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/1.07, allocations: 0.9087 MB / 1.023 GB, free: 97.71 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/1.07, allocations: 8.344 kB / 1.023 GB, free: 97.71 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-05/1.07, allocations: 5.75 kB / 1.023 GB, free: 97.71 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/1.07, allocations: 2.297 kB / 1.023 GB, free: 97.71 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003477/1.073, allocations: 1.714 MB / 1.025 GB, free: 97.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/1.073, allocations: 0 / 1.025 GB, free: 97.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/1.073, allocations: 42.16 kB / 1.025 GB, free: 97.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001001/1.074, allocations: 323.7 kB / 1.025 GB, free: 97.29 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.01e-05/1.074, allocations: 6.938 kB / 1.025 GB, free: 97.29 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006393/1.081, allocations: 6.948 MB / 1.032 GB, free: 92.3 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.081, allocations: 3.188 kB / 1.032 GB, free: 92.3 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002371/1.083, allocations: 1.984 MB / 1.034 GB, free: 91.5 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003344/1.084, allocations: 179.5 kB / 1.034 GB, free: 91.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/1.084, allocations: 9.422 kB / 1.034 GB, free: 91.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003242/1.084, allocations: 23.08 kB / 1.034 GB, free: 91.39 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/1.084, allocations: 45.58 kB / 1.034 GB, free: 91.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/1.084, allocations: 16.84 kB / 1.034 GB, free: 91.39 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003529/1.085, allocations: 306.3 kB / 1.034 GB, free: 91.3 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.51e-07/1.085, allocations: 0 / 1.034 GB, free: 91.3 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000964/1.086, allocations: 193.5 kB / 1.035 GB, free: 91.3 MB / 0.7448 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0001582/1.086, allocations: 112.6 kB / 1.035 GB, free: 91.21 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002192/1.088, allocations: 1.199 MB / 1.036 GB, free: 90.75 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/1.088, allocations: 0.9375 kB / 1.036 GB, free: 90.75 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00137/1.089, allocations: 0.8655 MB / 1.037 GB, free: 90.29 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/1.091, allocations: 183.4 kB / 1.037 GB, free: 90.29 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003334/1.094, allocations: 1.796 MB / 1.039 GB, free: 89.33 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008486/1.095, allocations: 0.9983 MB / 1.04 GB, free: 88.62 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004795/1.095, allocations: 101 kB / 1.04 GB, free: 88.61 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/1.095, allocations: 35.12 kB / 1.04 GB, free: 88.61 MB / 0.7448 GB Notification: Performance of SimCode: time 9.12e-07/1.095, allocations: 0 / 1.04 GB, free: 88.61 MB / 0.7448 GB Notification: Performance of Templates: time 0.03511/1.131, allocations: 9.964 MB / 1.049 GB, free: 88.21 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1)