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_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.426/1.426, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 178.4 kB / 326.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.878/1.878, allocations: 205 MB / 0.5767 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008308/0.0008307, allocations: 94.95 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003024/0.0003024, allocations: 14.39 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.216, allocations: 105.4 MB / 0.8968 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.005265/0.2213, allocations: 6.377 MB / 0.903 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003676/0.225, allocations: 3.08 MB / 0.906 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003897/0.2255, allocations: 23.88 kB / 0.906 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001747/0.2272, allocations: 0.8856 MB / 0.9069 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008353/0.2281, allocations: 477.7 kB / 0.9073 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007427/0.2288, allocations: 386.3 kB / 0.9077 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0008846/0.2297, allocations: 1.583 MB / 0.9093 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006877/0.2304, allocations: 0.6441 MB / 0.9099 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003413/0.2308, allocations: 398.3 kB / 0.9103 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004021/0.2312, allocations: 0.4902 MB / 0.9107 GB, free: 53.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.168e-05/0.2312, allocations: 36 kB / 0.9108 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005677/0.2318, allocations: 443.1 kB / 0.9112 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.232, allocations: 271.1 kB / 0.9115 GB, free: 53.04 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002385/0.2322, allocations: 401.8 kB / 0.9118 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007292/0.233, allocations: 1.175 MB / 0.913 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.233, allocations: 0 / 0.913 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.424e-06/0.233, allocations: 4 kB / 0.913 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.233, allocations: 0 / 0.913 GB, free: 51.46 MB / 0.6042 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.001231/0.2342, allocations: 1.001 MB / 0.914 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.2343, allocations: 16.03 kB / 0.914 GB, free: 50.39 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/0.2356, allocations: 239.6 kB / 0.9142 GB, free: 50.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005851/0.2362, allocations: 0.5375 MB / 0.9147 GB, free: 49.58 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/0.2362, allocations: 49.67 kB / 0.9148 GB, free: 49.53 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.392e-05/0.2363, allocations: 72.2 kB / 0.9149 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.2374, allocations: 1.085 MB / 0.9159 GB, free: 48.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.2374, allocations: 11.94 kB / 0.9159 GB, free: 48.26 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.754e-05/0.2375, allocations: 31.97 kB / 0.916 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001123/0.2376, allocations: 85.25 kB / 0.916 GB, free: 48.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008757/0.2385, allocations: 0.7504 MB / 0.9168 GB, free: 47.39 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003461/0.242, allocations: 5.905 MB / 0.9225 GB, free: 41.06 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007668/0.2427, allocations: 0.5515 MB / 0.9231 GB, free: 40.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003214/0.2431, allocations: 330 kB / 0.9234 GB, free: 40.17 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.58e-05/0.2431, allocations: 4.438 kB / 0.9234 GB, free: 40.17 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.2431, allocations: 39 kB / 0.9234 GB, free: 40.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 2.956e-06/0.2432, allocations: 0 / 0.9234 GB, free: 40.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.003049/0.2462, allocations: 1.998 MB / 0.9254 GB, free: 38.03 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.027e-05/0.2462, allocations: 59.83 kB / 0.9254 GB, free: 37.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004234/0.2467, allocations: 0.547 MB / 0.926 GB, free: 37.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.2467, allocations: 29.7 kB / 0.926 GB, free: 37.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.2469, allocations: 426.9 kB / 0.9264 GB, free: 36.94 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.818e-05/0.247, allocations: 169.6 kB / 0.9266 GB, free: 36.77 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-05/0.247, allocations: 57.69 kB / 0.9266 GB, free: 36.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.41e-05/0.2471, allocations: 378.7 kB / 0.927 GB, free: 36.33 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003032/0.2474, allocations: 273.8 kB / 0.9272 GB, free: 36.06 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003754/0.2478, allocations: 0.4892 MB / 0.9277 GB, free: 35.47 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007203/0.2485, allocations: 0.8054 MB / 0.9285 GB, free: 34.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2486, allocations: 4 kB / 0.9285 GB, free: 34.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001378/0.2499, allocations: 1.083 MB / 0.9296 GB, free: 33.46 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.25, allocations: 8 kB / 0.9296 GB, free: 33.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.25, allocations: 12.06 kB / 0.9296 GB, free: 33.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000742/0.2507, allocations: 275.2 kB / 0.9299 GB, free: 33.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004089/0.2511, allocations: 131.8 kB / 0.93 GB, free: 33.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004209/0.2554, allocations: 6.599 MB / 0.9364 GB, free: 25.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005276/0.2559, allocations: 43.89 kB / 0.9365 GB, free: 25.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.846e-05/0.256, allocations: 32 kB / 0.9365 GB, free: 25.82 MB / 0.6042 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.0002916/0.2563, allocations: 252.8 kB / 0.9367 GB, free: 25.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.127e-05/0.2563, allocations: 75.16 kB / 0.9368 GB, free: 25.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.2576, allocations: 0.8884 MB / 0.9377 GB, free: 24.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.2576, allocations: 4 kB / 0.9377 GB, free: 24.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2576, allocations: 3.984 kB / 0.9377 GB, free: 24.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001917/0.2578, allocations: 192.1 kB / 0.9379 GB, free: 24.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.033e-05/0.2579, allocations: 12 kB / 0.9379 GB, free: 24.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003041/0.2582, allocations: 23.97 kB / 0.9379 GB, free: 24.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.122e-05/0.2583, allocations: 44.36 kB / 0.9379 GB, free: 24.3 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001535/0.2598, allocations: 0.9709 MB / 0.9389 GB, free: 23.3 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009133/0.2607, allocations: 1.037 MB / 0.9399 GB, free: 22.25 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002641/0.261, allocations: 267.3 kB / 0.9402 GB, free: 21.99 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003054/0.2613, allocations: 379.1 kB / 0.9405 GB, free: 21.62 MB / 0.6042 GB Notification: Performance of Backend: time 5.01e-07/0.2613, allocations: 3.938 kB / 0.9405 GB, free: 21.62 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001967/0.2633, allocations: 1.311 MB / 0.9418 GB, free: 20.25 MB / 0.6042 GB Notification: Performance of SimCode: time 0.002279/0.2656, allocations: 2.234 MB / 0.944 GB, free: 17.97 MB / 0.6042 GB Notification: Performance of Templates: time 0.01723/0.2828, allocations: 12.33 MB / 0.956 GB, free: 5.75 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)