Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.849/1.849, allocations: 292.3 MB / 308.1 MB, free: 4.328 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.00175/0.00175, allocations: 186 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 2.009/2.009, allocations: 205.1 MB / 0.6354 GB, free: 9.789 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.001202/0.001202, allocations: 101.3 kB / 0.748 GB, free: 61.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001049/0.001049, allocations: 51.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3392, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.01031/0.3496, allocations: 6.702 MB / 0.9888 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.006263/0.3559, allocations: 3.06 MB / 0.9918 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001376/0.3574, allocations: 27.81 kB / 0.9918 GB, free: 0.5547 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003037/0.3604, allocations: 0.907 MB / 0.9927 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.002099/0.3626, allocations: 477.6 kB / 0.9931 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001628/0.3642, allocations: 383.3 kB / 0.9935 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.002618/0.3668, allocations: 1.602 MB / 0.9951 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00147/0.3683, allocations: 0.6406 MB / 0.9957 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/0.3695, allocations: 426.3 kB / 0.9961 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/0.3707, allocations: 0.5175 MB / 0.9966 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0002668/0.3709, allocations: 48 kB / 0.9966 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.3723, allocations: 459.1 kB / 0.9971 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0005169/0.3728, allocations: 287.1 kB / 0.9974 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.3739, allocations: 429.7 kB / 0.9978 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001729/0.3757, allocations: 1.199 MB / 0.9989 GB, free: 9.207 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.3757, allocations: 0 / 0.9989 GB, free: 9.207 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3757, allocations: 7.938 kB / 0.9989 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.294e-05/0.3757, allocations: 0 / 0.9989 GB, free: 9.199 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00221/0.3779, allocations: 1.165 MB / 1 GB, free: 7.98 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.378, allocations: 12.03 kB / 1 GB, free: 7.969 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/0.3794, allocations: 235.6 kB / 1 GB, free: 7.738 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009228/0.3804, allocations: 0.5452 MB / 1.001 GB, free: 7.152 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.382e-05/0.3804, allocations: 49.69 kB / 1.001 GB, free: 7.105 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.3805, allocations: 60.36 kB / 1.001 GB, free: 7.047 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.382, allocations: 1.093 MB / 1.002 GB, free: 5.848 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.861e-05/0.382, allocations: 7.938 kB / 1.002 GB, free: 5.84 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-05/0.3821, allocations: 28 kB / 1.002 GB, free: 5.812 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00017/0.3823, allocations: 85.25 kB / 1.002 GB, free: 5.727 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.3834, allocations: 0.7543 MB / 1.003 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00603/0.3894, allocations: 5.889 MB / 1.009 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.3905, allocations: 0.5495 MB / 1.009 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004727/0.391, allocations: 330 kB / 1.009 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.761e-05/0.3911, allocations: 4.438 kB / 1.009 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.3911, allocations: 42.94 kB / 1.01 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=47): time 3.958e-06/0.3911, allocations: 0 / 1.01 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of matching and sorting (n=48): time 0.004054/0.3952, allocations: 1.99 MB / 1.011 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.3953, allocations: 55.84 kB / 1.012 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007269/0.396, allocations: 0.5547 MB / 1.012 GB, free: 11 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.157e-05/0.396, allocations: 29.7 kB / 1.012 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003289/0.3964, allocations: 418.9 kB / 1.012 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.3965, allocations: 169.6 kB / 1.013 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.3968, allocations: 130.5 kB / 1.013 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001927/0.397, allocations: 378.7 kB / 1.013 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003976/0.3974, allocations: 273.9 kB / 1.013 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005867/0.398, allocations: 0.4892 MB / 1.014 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009986/0.399, allocations: 0.8093 MB / 1.015 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.399, allocations: 0 / 1.015 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001782/0.4008, allocations: 1.094 MB / 1.016 GB, free: 7 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.4008, allocations: 8 kB / 1.016 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/0.4009, allocations: 8.844 kB / 1.016 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008886/0.4018, allocations: 275.2 kB / 1.016 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004662/0.4022, allocations: 131.8 kB / 1.016 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6659/1.068, allocations: 6.587 MB / 1.023 GB, free: 96.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009368/1.069, allocations: 43.39 kB / 1.023 GB, free: 96.72 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-05/1.069, allocations: 23.97 kB / 1.023 GB, free: 96.72 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 (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.0004649/1.07, allocations: 257.6 kB / 1.023 GB, free: 96.61 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/1.07, allocations: 71.59 kB / 1.023 GB, free: 96.61 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001686/1.072, allocations: 0.8829 MB / 1.024 GB, free: 96.53 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/1.072, allocations: 6.219 kB / 1.024 GB, free: 96.53 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/1.072, allocations: 5.188 kB / 1.024 GB, free: 96.53 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.072, allocations: 1.828 kB / 1.024 GB, free: 96.53 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002777/1.074, allocations: 1.724 MB / 1.026 GB, free: 96.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.074, allocations: 0 / 1.026 GB, free: 96.15 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/1.075, allocations: 65.61 kB / 1.026 GB, free: 96.15 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006885/1.075, allocations: 266.1 kB / 1.026 GB, free: 96.12 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/1.075, allocations: 10.52 kB / 1.026 GB, free: 96.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005165/1.081, allocations: 6.588 MB / 1.032 GB, free: 91.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.081, allocations: 2.5 kB / 1.032 GB, free: 91.12 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00232/1.083, allocations: 1.999 MB / 1.034 GB, free: 90.32 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003122/1.083, allocations: 190.8 kB / 1.034 GB, free: 90.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.19e-05/1.083, allocations: 20.77 kB / 1.034 GB, free: 90.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003597/1.084, allocations: 27.19 kB / 1.034 GB, free: 90.19 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/1.084, allocations: 43.89 kB / 1.034 GB, free: 90.19 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.815e-05/1.084, allocations: 17.56 kB / 1.035 GB, free: 90.19 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004059/1.084, allocations: 379.6 kB / 1.035 GB, free: 90.09 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.084, allocations: 1.281 kB / 1.035 GB, free: 90.09 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0009346/1.085, allocations: 227.6 kB / 1.035 GB, free: 90.09 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 (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 0.0002158/1.085, allocations: 118.7 kB / 1.035 GB, free: 90.01 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002206/1.088, allocations: 1.267 MB / 1.036 GB, free: 89.55 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/1.088, allocations: 4.438 kB / 1.036 GB, free: 89.55 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001325/1.089, allocations: 0.8974 MB / 1.037 GB, free: 89.08 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/1.09, allocations: 203.2 kB / 1.038 GB, free: 89.07 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002813/1.093, allocations: 1.929 MB / 1.039 GB, free: 88.04 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006901/1.094, allocations: 1.026 MB / 1.04 GB, free: 87.33 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0004887/1.094, allocations: 122.1 kB / 1.041 GB, free: 87.3 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/1.094, allocations: 41.69 kB / 1.041 GB, free: 87.3 MB / 0.7448 GB Notification: Performance of SimCode: time 9.72e-07/1.094, allocations: 0 / 1.041 GB, free: 87.3 MB / 0.7448 GB Notification: Performance of Templates: time 0.02762/1.122, allocations: 11.14 MB / 1.051 GB, free: 86.86 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)