Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.349/2.349, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001295/0.001295, allocations: 181.5 kB / 326.3 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.407/2.407, allocations: 205.4 MB / 0.5772 GB, free: 20.78 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.0009551/0.0009551, allocations: 87.11 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006221/0.0006223, allocations: 12.78 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2632, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.01069/0.2739, allocations: 4.82 MB / 0.9042 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005246/0.2792, allocations: 2.488 MB / 0.9066 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006394/0.2799, allocations: 23.88 kB / 0.9067 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0004101/0.2804, allocations: 103.1 kB / 0.9068 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00126/0.2816, allocations: 338.2 kB / 0.9071 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001201/0.2829, allocations: 284.5 kB / 0.9074 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001449/0.2843, allocations: 1.049 MB / 0.9084 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001876/0.2862, allocations: 0.7672 MB / 0.9091 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006838/0.2869, allocations: 310.7 kB / 0.9094 GB, free: 55.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006378/0.2876, allocations: 374.6 kB / 0.9098 GB, free: 54.93 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.267e-05/0.2877, allocations: 24 kB / 0.9098 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006819/0.2884, allocations: 191.7 kB / 0.91 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000288/0.2887, allocations: 219.3 kB / 0.9102 GB, free: 54.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.2889, allocations: 149.3 kB / 0.9103 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.2899, allocations: 0.7171 MB / 0.911 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.29, allocations: 0 / 0.911 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.565e-06/0.29, allocations: 0 / 0.911 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.582e-05/0.29, allocations: 0 / 0.911 GB, free: 53.63 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.003301/0.2934, allocations: 0.8608 MB / 0.9119 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.2934, allocations: 8.031 kB / 0.9119 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002029/0.2955, allocations: 187.9 kB / 0.9121 GB, free: 52.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009658/0.2965, allocations: 478.8 kB / 0.9125 GB, free: 52.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.599e-05/0.2965, allocations: 33.38 kB / 0.9126 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002415/0.2968, allocations: 60.45 kB / 0.9126 GB, free: 51.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.2983, allocations: 0.8277 MB / 0.9134 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.339e-05/0.2984, allocations: 7.938 kB / 0.9134 GB, free: 51 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.481e-05/0.2985, allocations: 24 kB / 0.9135 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003171/0.2988, allocations: 68.94 kB / 0.9135 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.3002, allocations: 0.5658 MB / 0.9141 GB, free: 50.35 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005777/0.3059, allocations: 4.589 MB / 0.9186 GB, free: 45.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000691/0.3067, allocations: 295.2 kB / 0.9188 GB, free: 45.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004518/0.3072, allocations: 229.3 kB / 0.9191 GB, free: 44.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.57e-05/0.3072, allocations: 4.281 kB / 0.9191 GB, free: 44.88 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.3073, allocations: 42.84 kB / 0.9191 GB, free: 44.83 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 3.237e-06/0.3073, allocations: 0 / 0.9191 GB, free: 44.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.008673/0.316, allocations: 2.628 MB / 0.9217 GB, free: 42.07 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.3161, allocations: 55.41 kB / 0.9217 GB, free: 42.01 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.3172, allocations: 457.9 kB / 0.9222 GB, free: 41.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001396/0.3174, allocations: 33.7 kB / 0.9222 GB, free: 41.51 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003979/0.3178, allocations: 335.7 kB / 0.9225 GB, free: 41.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000273/0.3181, allocations: 142 kB / 0.9226 GB, free: 41.04 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.117e-05/0.3183, allocations: 16 kB / 0.9227 GB, free: 41.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.3185, allocations: 362.8 kB / 0.923 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009236/0.3194, allocations: 233 kB / 0.9232 GB, free: 40.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.3206, allocations: 410.4 kB / 0.9236 GB, free: 39.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.322, allocations: 297.5 kB / 0.9239 GB, free: 39.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/0.3221, allocations: 4 kB / 0.9239 GB, free: 39.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004685/0.3268, allocations: 0.914 MB / 0.9248 GB, free: 38.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.797e-05/0.3269, allocations: 8 kB / 0.9248 GB, free: 38.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/0.3269, allocations: 4 kB / 0.9248 GB, free: 38.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002219/0.3292, allocations: 222.6 kB / 0.925 GB, free: 38.49 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.3307, allocations: 119.7 kB / 0.9251 GB, free: 38.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009823/0.3406, allocations: 4.929 MB / 0.9299 GB, free: 33.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.3418, allocations: 36.03 kB / 0.93 GB, free: 33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.342, allocations: 24 kB / 0.93 GB, free: 32.98 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006249/0.3427, allocations: 230.6 kB / 0.9302 GB, free: 32.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002289/0.3429, allocations: 55.48 kB / 0.9303 GB, free: 32.69 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003573/0.3465, allocations: 0.7735 MB / 0.931 GB, free: 31.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.017e-05/0.3466, allocations: 0 / 0.931 GB, free: 31.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.3466, allocations: 0 / 0.931 GB, free: 31.9 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005759/0.3472, allocations: 172.4 kB / 0.9312 GB, free: 31.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/0.3474, allocations: 8 kB / 0.9312 GB, free: 31.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008564/0.3483, allocations: 31.97 kB / 0.9312 GB, free: 31.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/0.3485, allocations: 39.66 kB / 0.9313 GB, free: 31.64 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005011/0.3535, allocations: 0.858 MB / 0.9321 GB, free: 30.76 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002778/0.3563, allocations: 0.9568 MB / 0.933 GB, free: 29.79 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008412/0.3573, allocations: 239.6 kB / 0.9333 GB, free: 29.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000688/0.358, allocations: 302.9 kB / 0.9336 GB, free: 29.26 MB / 0.6042 GB Notification: Performance of Backend: time 1.202e-06/0.358, allocations: 3.938 kB / 0.9336 GB, free: 29.26 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004209/0.3622, allocations: 0.9796 MB / 0.9345 GB, free: 28.23 MB / 0.6042 GB Notification: Performance of SimCode: time 0.005349/0.3676, allocations: 1.997 MB / 0.9365 GB, free: 26.19 MB / 0.6042 GB Notification: Performance of Templates: time 0.04196/0.4097, allocations: 10.11 MB / 0.9463 GB, free: 16.19 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)