Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.419/1.419, allocations: 252 MB / 267.3 MB, free: 10.81 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.001059/0.001059, allocations: 166.1 kB / 327 MB, free: 2.078 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.241/2.241, allocations: 205.4 MB / 0.578 GB, free: 20.09 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.0008145/0.0008144, allocations: 86.31 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004119/0.0004119, allocations: 13 kB / 0.7971 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2882, allocations: 106.3 MB / 0.9009 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004851/0.2931, allocations: 5.13 MB / 0.9059 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003428/0.2965, allocations: 2.639 MB / 0.9085 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002708/0.2968, allocations: 27.81 kB / 0.9085 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.2971, allocations: 99.14 kB / 0.9086 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0007919/0.2979, allocations: 382.1 kB / 0.909 GB, free: 54.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008087/0.2987, allocations: 377.8 kB / 0.9094 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0008853/0.2996, allocations: 1.259 MB / 0.9106 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.3007, allocations: 0.7793 MB / 0.9113 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003404/0.301, allocations: 322.5 kB / 0.9117 GB, free: 52.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003814/0.3014, allocations: 386.5 kB / 0.912 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.203e-05/0.3015, allocations: 27.94 kB / 0.9121 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006246/0.3021, allocations: 431.1 kB / 0.9125 GB, free: 51.35 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001838/0.3023, allocations: 223.4 kB / 0.9127 GB, free: 51.13 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002584/0.3026, allocations: 339.9 kB / 0.913 GB, free: 50.79 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000772/0.3034, allocations: 0.9578 MB / 0.9139 GB, free: 49.83 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3034, allocations: 3.938 kB / 0.9139 GB, free: 49.83 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.134e-06/0.3034, allocations: 4 kB / 0.9139 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.321e-05/0.3034, allocations: 0 / 0.9139 GB, free: 49.82 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.00116/0.3046, allocations: 0.8531 MB / 0.9148 GB, free: 48.92 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.3046, allocations: 8.031 kB / 0.9148 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.879e-05/0.3047, allocations: 94.69 kB / 0.9149 GB, free: 48.81 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/0.3059, allocations: 199.8 kB / 0.9151 GB, free: 48.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005759/0.3065, allocations: 498.4 kB / 0.9155 GB, free: 48.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.3066, allocations: 37.36 kB / 0.9156 GB, free: 48.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.3067, allocations: 52.56 kB / 0.9156 GB, free: 48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009366/0.3076, allocations: 0.8316 MB / 0.9164 GB, free: 47.09 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.3077, allocations: 7.906 kB / 0.9164 GB, free: 47.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.053e-05/0.3077, allocations: 27.98 kB / 0.9165 GB, free: 47.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001681/0.3079, allocations: 68.94 kB / 0.9165 GB, free: 46.98 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006935/0.3086, allocations: 0.5696 MB / 0.9171 GB, free: 46.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003279/0.3119, allocations: 4.593 MB / 0.9216 GB, free: 41.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003843/0.3123, allocations: 299.2 kB / 0.9219 GB, free: 41.17 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/0.3126, allocations: 225.3 kB / 0.9221 GB, free: 40.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.3126, allocations: 4.281 kB / 0.9221 GB, free: 40.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.3126, allocations: 46.78 kB / 0.9221 GB, free: 40.89 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 1.914e-06/0.3126, allocations: 0 / 0.9221 GB, free: 40.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.004944/0.3176, allocations: 2.625 MB / 0.9247 GB, free: 38.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.3176, allocations: 63.34 kB / 0.9248 GB, free: 38.06 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003744/0.318, allocations: 462 kB / 0.9252 GB, free: 37.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.421e-05/0.3181, allocations: 33.7 kB / 0.9252 GB, free: 37.56 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.3182, allocations: 351.6 kB / 0.9256 GB, free: 37.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.979e-05/0.3183, allocations: 142 kB / 0.9257 GB, free: 37.07 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.3184, allocations: 12 kB / 0.9257 GB, free: 37.06 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.002e-05/0.3184, allocations: 358.8 kB / 0.926 GB, free: 36.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/0.3187, allocations: 237 kB / 0.9263 GB, free: 36.47 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/0.3191, allocations: 403.9 kB / 0.9267 GB, free: 36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007081/0.3198, allocations: 0.6855 MB / 0.9273 GB, free: 35.24 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3198, allocations: 4 kB / 0.9273 GB, free: 35.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001409/0.3212, allocations: 0.9246 MB / 0.9282 GB, free: 34.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.3213, allocations: 8 kB / 0.9282 GB, free: 34.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.3213, allocations: 4 kB / 0.9282 GB, free: 34.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000689/0.322, allocations: 227 kB / 0.9285 GB, free: 34.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004662/0.3224, allocations: 115.8 kB / 0.9286 GB, free: 33.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003909/0.3264, allocations: 4.937 MB / 0.9334 GB, free: 28.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004997/0.3269, allocations: 35.97 kB / 0.9334 GB, free: 28.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.3269, allocations: 20 kB / 0.9334 GB, free: 28.54 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 (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.0003625/0.3273, allocations: 221.6 kB / 0.9337 GB, free: 28.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.126e-05/0.3274, allocations: 63.31 kB / 0.9337 GB, free: 28.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/0.3288, allocations: 0.7733 MB / 0.9345 GB, free: 27.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3288, allocations: 12 kB / 0.9345 GB, free: 27.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3288, allocations: 3.938 kB / 0.9345 GB, free: 27.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.3288, allocations: 3.984 kB / 0.9345 GB, free: 27.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002/0.3308, allocations: 1.498 MB / 0.936 GB, free: 25.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.3309, allocations: 0 / 0.936 GB, free: 25.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003685/0.3312, allocations: 68.16 kB / 0.936 GB, free: 25.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00061/0.3319, allocations: 214.6 kB / 0.9362 GB, free: 25.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.3319, allocations: 12 kB / 0.9362 GB, free: 25.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003484/0.3354, allocations: 4.872 MB / 0.941 GB, free: 20.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.3354, allocations: 11.88 kB / 0.941 GB, free: 20.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.3369, allocations: 1.131 MB / 0.9421 GB, free: 19.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/0.337, allocations: 172.4 kB / 0.9423 GB, free: 18.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.605e-05/0.3371, allocations: 8 kB / 0.9423 GB, free: 18.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002985/0.3374, allocations: 23.97 kB / 0.9423 GB, free: 18.88 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.654e-05/0.3375, allocations: 43.83 kB / 0.9423 GB, free: 18.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.3375, allocations: 12.06 kB / 0.9424 GB, free: 18.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002804/0.3378, allocations: 318.9 kB / 0.9427 GB, free: 18.51 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3378, allocations: 0 / 0.9427 GB, free: 18.51 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00066/0.3385, allocations: 168 kB / 0.9428 GB, free: 18.35 MB / 0.6042 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.001668/0.3402, allocations: 1.688 MB / 0.9445 GB, free: 16.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001338/0.3415, allocations: 1.004 MB / 0.9455 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.3415, allocations: 0 / 0.9455 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007638/0.3423, allocations: 0.6837 MB / 0.9461 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009473/0.3433, allocations: 171.2 kB / 0.9463 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006638/0.3499, allocations: 6.005 MB / 0.9521 GB, free: 8.379 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.3503, allocations: 0.9417 MB / 0.9531 GB, free: 7.406 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000415/0.3508, allocations: 121 kB / 0.9532 GB, free: 7.285 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/0.351, allocations: 211.4 kB / 0.9534 GB, free: 7.078 MB / 0.6042 GB Notification: Performance of SimCode: time 7.42e-07/0.351, allocations: 0 / 0.9534 GB, free: 7.078 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02746/0.3785, allocations: 13.37 MB / 0.9664 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002144/0.3788, allocations: 253.3 kB / 0.9667 GB, free: 9.773 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.628/3.006, allocations: 0 / 0.9667 GB, free: 9.773 MB / 0.6198 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)