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.0007827/0.0007829, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008599/0.00086, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.651/1.651, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005415/0.0005415, allocations: 23.02 kB / 0.6737 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.245, allocations: 116.3 MB / 0.7873 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006385/0.2515, allocations: 4.821 MB / 0.792 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004156/0.2557, allocations: 2.469 MB / 0.7944 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003337/0.256, allocations: 27.81 kB / 0.7944 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003163/0.2564, allocations: 99.19 kB / 0.7945 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007787/0.2572, allocations: 334.2 kB / 0.7949 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007251/0.2579, allocations: 286 kB / 0.7951 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009868/0.2589, allocations: 1.037 MB / 0.7961 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/0.26, allocations: 0.7514 MB / 0.7969 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004441/0.2605, allocations: 314.7 kB / 0.7972 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004602/0.261, allocations: 378.6 kB / 0.7975 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.309e-05/0.261, allocations: 24 kB / 0.7976 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004393/0.2615, allocations: 183.7 kB / 0.7977 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002228/0.2617, allocations: 219.4 kB / 0.7979 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001313/0.2618, allocations: 145.4 kB / 0.7981 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006304/0.2625, allocations: 0.7171 MB / 0.7988 GB, free: 68 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2625, allocations: 0 / 0.7988 GB, free: 68 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2625, allocations: 4 kB / 0.7988 GB, free: 64 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.2625, allocations: 0 / 0.7988 GB, free: 64 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.001236/0.2638, allocations: 0.8529 MB / 0.7996 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.2638, allocations: 8.031 kB / 0.7996 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001225/0.265, allocations: 202.8 kB / 0.7998 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000618/0.2657, allocations: 469.5 kB / 0.8003 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/0.2657, allocations: 36.98 kB / 0.8003 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.2658, allocations: 51.98 kB / 0.8004 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.2669, allocations: 0.82 MB / 0.8012 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.2669, allocations: 4 kB / 0.8012 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.595e-05/0.267, allocations: 31.94 kB / 0.8012 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001846/0.2672, allocations: 72.86 kB / 0.8013 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007934/0.268, allocations: 0.5697 MB / 0.8018 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003971/0.272, allocations: 4.597 MB / 0.8063 GB, free: 7.84 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004345/0.2724, allocations: 295.3 kB / 0.8066 GB, free: 7.543 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002981/0.2727, allocations: 233.2 kB / 0.8068 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.2727, allocations: 288 / 0.8068 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.2728, allocations: 34.84 kB / 0.8068 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 1.252e-06/0.2728, allocations: 0 / 0.8068 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of matching and sorting (n=40): time 0.004974/0.2778, allocations: 2.627 MB / 0.8094 GB, free: 4.516 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.2778, allocations: 59.41 kB / 0.8095 GB, free: 4.445 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004576/0.2783, allocations: 450 kB / 0.8099 GB, free: 3.996 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.2783, allocations: 33.7 kB / 0.8099 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.2786, allocations: 339.6 kB / 0.8102 GB, free: 3.617 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/0.2787, allocations: 145.9 kB / 0.8104 GB, free: 3.473 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/0.2787, allocations: 8 kB / 0.8104 GB, free: 3.465 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2789, allocations: 370.7 kB / 0.8107 GB, free: 3.094 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003296/0.2792, allocations: 233 kB / 0.811 GB, free: 2.867 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004241/0.2796, allocations: 414.4 kB / 0.8114 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/0.28, allocations: 289.5 kB / 0.8116 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.28, allocations: 4 kB / 0.8116 GB, free: 2.105 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001473/0.2815, allocations: 0.9172 MB / 0.8125 GB, free: 1.172 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.2816, allocations: 8 kB / 0.8125 GB, free: 1.164 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.2816, allocations: 8.656 kB / 0.8126 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000697/0.2823, allocations: 222.4 kB / 0.8128 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004736/0.2828, allocations: 111.8 kB / 0.8129 GB, free: 0.8203 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004414/0.2872, allocations: 4.942 MB / 0.8177 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004172/0.2876, allocations: 27.97 kB / 0.8177 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.83e-05/0.2877, allocations: 24 kB / 0.8177 GB, free: 11.41 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 (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.0003184/0.288, allocations: 229.7 kB / 0.818 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.328e-05/0.2881, allocations: 55.34 kB / 0.818 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001386/0.2895, allocations: 0.7779 MB / 0.8188 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.2895, allocations: 4 kB / 0.8188 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.2895, allocations: 0 / 0.8188 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2895, allocations: 0 / 0.8188 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00219/0.2917, allocations: 1.498 MB / 0.8202 GB, free: 8.742 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.2917, allocations: 8.219 kB / 0.8203 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003985/0.2921, allocations: 71.88 kB / 0.8203 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006005/0.2927, allocations: 202.6 kB / 0.8205 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.2928, allocations: 12 kB / 0.8205 GB, free: 8.445 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004331/0.2971, allocations: 4.872 MB / 0.8253 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.2971, allocations: 4.031 kB / 0.8253 GB, free: 3.172 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/0.299, allocations: 1.123 MB / 0.8264 GB, free: 2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002451/0.2992, allocations: 176.5 kB / 0.8266 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.807e-05/0.2993, allocations: 11.98 kB / 0.8266 GB, free: 1.797 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002892/0.2996, allocations: 27.97 kB / 0.8266 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.876e-05/0.2997, allocations: 43.95 kB / 0.8266 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.2997, allocations: 12 kB / 0.8266 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003588/0.3001, allocations: 302.9 kB / 0.8269 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3001, allocations: 0 / 0.8269 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007048/0.3008, allocations: 172 kB / 0.8271 GB, free: 1.254 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 (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%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001495/0.301, allocations: 107.2 kB / 0.8272 GB, free: 1.141 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00146/0.3024, allocations: 1.001 MB / 0.8282 GB, free: 104 kB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3024, allocations: 0 / 0.8282 GB, free: 104 kB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008841/0.3033, allocations: 0.6799 MB / 0.8288 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008178/0.3042, allocations: 161.8 kB / 0.829 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.3061, allocations: 1.492 MB / 0.8305 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.3065, allocations: 0.9455 MB / 0.8314 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003385/0.3068, allocations: 117 kB / 0.8315 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.554e-05/0.3069, allocations: 39.44 kB / 0.8315 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.3069, allocations: 0 / 0.8315 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of Templates: time 0.01318/0.3201, allocations: 8.139 MB / 0.8395 GB, free: 4.52 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: