Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002129/0.002129, allocations: 196.6 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.686/1.686, allocations: 205.1 MB / 222 MB, free: 4.781 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.646/1.646, allocations: 292.2 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 69.42 kB / 0.6708 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2623, allocations: 114.5 MB / 0.7827 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.009667/0.2721, allocations: 5.464 MB / 0.788 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004849/0.2769, allocations: 2.651 MB / 0.7906 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000735/0.2777, allocations: 15.88 kB / 0.7906 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001915/0.2797, allocations: 0.6306 MB / 0.7912 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001182/0.2809, allocations: 386.2 kB / 0.7916 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009764/0.2818, allocations: 362.3 kB / 0.7919 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001539/0.2834, allocations: 1.252 MB / 0.7932 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009085/0.2843, allocations: 454.3 kB / 0.7936 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007246/0.2851, allocations: 330.6 kB / 0.7939 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008446/0.2859, allocations: 410.3 kB / 0.7943 GB, free: 2.027 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001279/0.286, allocations: 36 kB / 0.7943 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009865/0.287, allocations: 439.1 kB / 0.7948 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003284/0.2874, allocations: 231.4 kB / 0.795 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005045/0.2879, allocations: 338.1 kB / 0.7953 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.2893, allocations: 0.9694 MB / 0.7963 GB, free: 32 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2893, allocations: 0 / 0.7963 GB, free: 32 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.133e-06/0.2893, allocations: 0 / 0.7963 GB, free: 32 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.797e-05/0.2894, allocations: 0 / 0.7963 GB, free: 32 kB / 0.6075 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.001985/0.2913, allocations: 0.9698 MB / 0.7972 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.2914, allocations: 8.031 kB / 0.7972 GB, free: 15 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.2928, allocations: 191.8 kB / 0.7974 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000687/0.2935, allocations: 498.4 kB / 0.7979 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.093e-05/0.2935, allocations: 33.38 kB / 0.7979 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001537/0.2937, allocations: 56.55 kB / 0.798 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.2949, allocations: 0.8279 MB / 0.7988 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/0.2949, allocations: 7.938 kB / 0.7988 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.929e-05/0.295, allocations: 20 kB / 0.7988 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001929/0.2952, allocations: 72.94 kB / 0.7989 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008767/0.2961, allocations: 0.5697 MB / 0.7994 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004422/0.3005, allocations: 4.577 MB / 0.8039 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004854/0.301, allocations: 299.2 kB / 0.8042 GB, free: 7.395 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/0.3013, allocations: 229.3 kB / 0.8044 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.3014, allocations: 4.281 kB / 0.8044 GB, free: 7.164 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.3014, allocations: 30.84 kB / 0.8044 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 1.643e-06/0.3014, allocations: 4 kB / 0.8044 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of matching and sorting (n=40): time 0.005387/0.3068, allocations: 2.635 MB / 0.807 GB, free: 4.359 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.3068, allocations: 55.41 kB / 0.807 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004331/0.3073, allocations: 465.8 kB / 0.8075 GB, free: 3.828 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.3073, allocations: 29.7 kB / 0.8075 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.3075, allocations: 339.6 kB / 0.8078 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.615e-05/0.3076, allocations: 145.9 kB / 0.808 GB, free: 3.309 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.3078, allocations: 110.2 kB / 0.8081 GB, free: 3.195 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.3079, allocations: 358.8 kB / 0.8084 GB, free: 2.836 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003395/0.3083, allocations: 237 kB / 0.8087 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004487/0.3087, allocations: 406.4 kB / 0.809 GB, free: 2.133 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008136/0.3096, allocations: 0.6779 MB / 0.8097 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.3096, allocations: 8 kB / 0.8097 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001578/0.3112, allocations: 0.9248 MB / 0.8106 GB, free: 444 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3112, allocations: 4 kB / 0.8106 GB, free: 440 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.3112, allocations: 8 kB / 0.8106 GB, free: 432 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007464/0.3119, allocations: 222.9 kB / 0.8108 GB, free: 200 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004843/0.3124, allocations: 111.8 kB / 0.8109 GB, free: 88 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005075/0.3175, allocations: 4.943 MB / 0.8158 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005188/0.3181, allocations: 31.91 kB / 0.8158 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.834e-05/0.3181, allocations: 27.98 kB / 0.8158 GB, free: 10.68 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0004068/0.3186, allocations: 224.8 kB / 0.816 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.3187, allocations: 55.34 kB / 0.8161 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/0.3205, allocations: 0.7781 MB / 0.8169 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.3206, allocations: 7.984 kB / 0.8169 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/0.3206, allocations: 4 kB / 0.8169 GB, free: 9.59 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.3206, allocations: 7.984 kB / 0.8169 GB, free: 9.582 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003361/0.324, allocations: 1.498 MB / 0.8183 GB, free: 7.996 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.301e-06/0.324, allocations: 0 / 0.8183 GB, free: 7.996 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005013/0.3245, allocations: 71.89 kB / 0.8184 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009486/0.3255, allocations: 206.6 kB / 0.8186 GB, free: 7.715 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.64e-05/0.3255, allocations: 11.94 kB / 0.8186 GB, free: 7.703 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006096/0.3317, allocations: 4.872 MB / 0.8234 GB, free: 2.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.343e-06/0.3317, allocations: 4.031 kB / 0.8234 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002466/0.3342, allocations: 1.135 MB / 0.8245 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003745/0.3345, allocations: 176.4 kB / 0.8247 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.3347, allocations: 8.188 kB / 0.8247 GB, free: 1.043 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004663/0.3352, allocations: 27.97 kB / 0.8247 GB, free: 1.016 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.3353, allocations: 39.89 kB / 0.8247 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.063e-05/0.3353, allocations: 8 kB / 0.8247 GB, free: 0.9688 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000515/0.3359, allocations: 314.9 kB / 0.825 GB, free: 0.6641 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.81e-07/0.3359, allocations: 4.062 kB / 0.825 GB, free: 0.6602 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009772/0.3369, allocations: 168 kB / 0.8252 GB, free: 0.4961 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000223/0.3371, allocations: 115.1 kB / 0.8253 GB, free: 384 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002135/0.3392, allocations: 0.9966 MB / 0.8263 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.3393, allocations: 0 / 0.8263 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.3405, allocations: 0.6917 MB / 0.827 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.3417, allocations: 159.5 kB / 0.8271 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002782/0.3445, allocations: 1.513 MB / 0.8286 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006828/0.3452, allocations: 0.9416 MB / 0.8295 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005165/0.3458, allocations: 121 kB / 0.8296 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.3459, allocations: 43.38 kB / 0.8297 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of SimCode: time 2.364e-06/0.3459, allocations: 0 / 0.8297 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of Templates: time 0.01915/0.3651, allocations: 8.527 MB / 0.838 GB, free: 3.34 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)