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.001078/0.001078, allocations: 105 kB / 16.36 MB, free: 5.996 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.001118/0.001118, allocations: 192.2 kB / 17.3 MB, free: 5.598 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.364/1.364, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.781/1.781, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.002379/0.00238, allocations: 71.91 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3232, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.4226/0.7459, allocations: 5.429 MB / 0.7901 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00401/0.75, allocations: 2.645 MB / 0.7927 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005913/0.7506, allocations: 23.16 kB / 0.7927 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.7524, allocations: 0.6745 MB / 0.7934 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001182/0.7536, allocations: 411.6 kB / 0.7937 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.7546, allocations: 395.9 kB / 0.7941 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0009706/0.7556, allocations: 0.9536 MB / 0.7951 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006013/0.7562, allocations: 472 kB / 0.7955 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004649/0.7567, allocations: 369.3 kB / 0.7959 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004627/0.7572, allocations: 401.5 kB / 0.7962 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.752e-05/0.7573, allocations: 48.34 kB / 0.7963 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007053/0.758, allocations: 361.1 kB / 0.7966 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000208/0.7582, allocations: 249.5 kB / 0.7969 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002885/0.7585, allocations: 353.8 kB / 0.7972 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.7596, allocations: 0.966 MB / 0.7982 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.7596, allocations: 0 / 0.7982 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7596, allocations: 0 / 0.7982 GB, free: 44.58 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.7596, allocations: 0 / 0.7982 GB, free: 44.58 MB / 0.6544 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.001436/0.7611, allocations: 0.9731 MB / 0.7991 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.7611, allocations: 9.219 kB / 0.7991 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00131/0.7624, allocations: 194.7 kB / 0.7993 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007444/0.7632, allocations: 488.2 kB / 0.7998 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/0.7632, allocations: 39.34 kB / 0.7998 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.7634, allocations: 59.17 kB / 0.7999 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.7646, allocations: 0.8261 MB / 0.8007 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.7646, allocations: 10.22 kB / 0.8007 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.66e-05/0.7647, allocations: 23.41 kB / 0.8007 GB, free: 43 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002017/0.7649, allocations: 67.55 kB / 0.8008 GB, free: 43 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009198/0.7658, allocations: 0.5763 MB / 0.8013 GB, free: 42.79 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004074/0.7699, allocations: 4.57 MB / 0.8058 GB, free: 38.89 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004929/0.7704, allocations: 292.7 kB / 0.8061 GB, free: 38.78 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003458/0.7708, allocations: 230.9 kB / 0.8063 GB, free: 38.68 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.7708, allocations: 3.844 kB / 0.8063 GB, free: 38.68 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.7708, allocations: 37.92 kB / 0.8063 GB, free: 38.64 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 2.104e-06/0.7709, allocations: 0 / 0.8063 GB, free: 38.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.005674/0.7765, allocations: 2.619 MB / 0.8089 GB, free: 37.27 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.7766, allocations: 56.12 kB / 0.8089 GB, free: 37.2 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005804/0.7772, allocations: 460.2 kB / 0.8094 GB, free: 36.98 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.7772, allocations: 36.86 kB / 0.8094 GB, free: 36.94 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.7774, allocations: 340.9 kB / 0.8097 GB, free: 36.66 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.7775, allocations: 142.5 kB / 0.8099 GB, free: 36.55 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.7777, allocations: 106.3 kB / 0.81 GB, free: 36.49 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.7778, allocations: 364.2 kB / 0.8103 GB, free: 36.16 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003666/0.7782, allocations: 238.2 kB / 0.8105 GB, free: 36.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004525/0.7786, allocations: 408.3 kB / 0.8109 GB, free: 35.77 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008972/0.7795, allocations: 0.677 MB / 0.8116 GB, free: 35.34 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.7796, allocations: 2.375 kB / 0.8116 GB, free: 35.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001709/0.7813, allocations: 0.9189 MB / 0.8125 GB, free: 34.95 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.7813, allocations: 8.719 kB / 0.8125 GB, free: 34.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.7813, allocations: 9.719 kB / 0.8125 GB, free: 34.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008453/0.7822, allocations: 223.2 kB / 0.8127 GB, free: 34.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005598/0.7828, allocations: 119.7 kB / 0.8128 GB, free: 34.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004559/0.7873, allocations: 5.34 MB / 0.8181 GB, free: 30.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005615/0.7879, allocations: 29.75 kB / 0.8181 GB, free: 30.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.552e-05/0.788, allocations: 22.84 kB / 0.8181 GB, free: 30.2 MB / 0.6544 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.0003895/0.7884, allocations: 223.4 kB / 0.8183 GB, free: 30.04 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.7885, allocations: 59.75 kB / 0.8184 GB, free: 30 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001658/0.7901, allocations: 0.7743 MB / 0.8191 GB, free: 29.67 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.7902, allocations: 4.781 kB / 0.8191 GB, free: 29.67 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7902, allocations: 2.5 kB / 0.8191 GB, free: 29.67 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.7902, allocations: 6.484 kB / 0.8191 GB, free: 29.66 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00266/0.7929, allocations: 1.499 MB / 0.8206 GB, free: 28.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.7929, allocations: 3.469 kB / 0.8206 GB, free: 28.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003878/0.7933, allocations: 69 kB / 0.8207 GB, free: 28.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006855/0.794, allocations: 213.5 kB / 0.8209 GB, free: 28.8 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.142e-05/0.794, allocations: 9.391 kB / 0.8209 GB, free: 28.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004271/0.7983, allocations: 5.268 MB / 0.826 GB, free: 24.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.7983, allocations: 6.281 kB / 0.826 GB, free: 24.17 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.8001, allocations: 1.142 MB / 0.8272 GB, free: 23.58 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002674/0.8004, allocations: 168.1 kB / 0.8273 GB, free: 23.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.496e-05/0.8004, allocations: 13.31 kB / 0.8273 GB, free: 23.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003137/0.8008, allocations: 31.72 kB / 0.8274 GB, free: 23.42 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.8009, allocations: 39.78 kB / 0.8274 GB, free: 23.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/0.8009, allocations: 16.81 kB / 0.8274 GB, free: 23.41 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003651/0.8013, allocations: 307.9 kB / 0.8277 GB, free: 23.26 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.8013, allocations: 0 / 0.8277 GB, free: 23.26 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007735/0.8021, allocations: 170.8 kB / 0.8279 GB, free: 23.24 MB / 0.6544 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.0001356/0.8022, allocations: 116.8 kB / 0.828 GB, free: 23.14 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001573/0.8038, allocations: 1 MB / 0.829 GB, free: 22.57 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.8038, allocations: 0 / 0.829 GB, free: 22.57 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008387/0.8047, allocations: 0.6817 MB / 0.8296 GB, free: 22.11 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008585/0.8055, allocations: 183 kB / 0.8298 GB, free: 22.06 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.8074, allocations: 1.254 MB / 0.831 GB, free: 21.35 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004899/0.8079, allocations: 0.9467 MB / 0.8319 GB, free: 20.62 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003437/0.8082, allocations: 114 kB / 0.8321 GB, free: 20.61 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.784e-05/0.8083, allocations: 35.66 kB / 0.8321 GB, free: 20.6 MB / 0.6544 GB Notification: Performance of SimCode: time 2.7e-07/0.8084, allocations: 3.25 kB / 0.8321 GB, free: 20.6 MB / 0.6544 GB Notification: Performance of Templates: time 0.01756/0.8259, allocations: 8.845 MB / 0.8407 GB, free: 19.95 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)