Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_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.435/1.435, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001068/0.001068, allocations: 185.8 kB / 326.5 MB, free: 2.281 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.941/1.941, allocations: 205.4 MB / 0.5775 GB, free: 20.31 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.0008642/0.0008644, allocations: 103.2 kB / 0.6821 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003582/0.0003582, allocations: 8.938 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.2368, allocations: 106.3 MB / 0.9002 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.0206/0.2575, allocations: 23.26 MB / 0.9229 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01116/0.2687, allocations: 7.787 MB / 0.9305 GB, free: 32.79 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002309/0.271, allocations: 91.44 kB / 0.9306 GB, free: 32.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.2724, allocations: 0.5124 MB / 0.9311 GB, free: 32.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003589/0.276, allocations: 1.184 MB / 0.9322 GB, free: 30.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002773/0.2787, allocations: 1.001 MB / 0.9332 GB, free: 29.99 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004129/0.2829, allocations: 2.987 MB / 0.9361 GB, free: 27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009388/0.2923, allocations: 8.164 MB / 0.9441 GB, free: 18.77 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002828/0.2951, allocations: 1.643 MB / 0.9457 GB, free: 17.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002034/0.2972, allocations: 1.678 MB / 0.9473 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003622/0.2976, allocations: 212 kB / 0.9475 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.2988, allocations: 0.4917 MB / 0.948 GB, free: 14.74 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001006/0.2998, allocations: 1.532 MB / 0.9495 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0007059/0.3005, allocations: 0.8005 MB / 0.9503 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00418/0.3047, allocations: 6.514 MB / 0.9567 GB, free: 5.863 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3047, allocations: 4 kB / 0.9567 GB, free: 5.859 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3047, allocations: 0 / 0.9567 GB, free: 5.859 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001684/0.3049, allocations: 0 / 0.9567 GB, free: 5.859 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.006279/0.3112, allocations: 3.428 MB / 0.96 GB, free: 2.367 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.3113, allocations: 12.03 kB / 0.96 GB, free: 2.355 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006419/0.3119, allocations: 0.5341 MB / 0.9605 GB, free: 1.812 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003251/0.3152, allocations: 0.7719 MB / 0.9613 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004724/0.3199, allocations: 2.37 MB / 0.9636 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001851/0.3201, allocations: 271.3 kB / 0.9639 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007022/0.3208, allocations: 371.9 kB / 0.9642 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009787/0.3306, allocations: 5.934 MB / 0.97 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.584e-05/0.3307, allocations: 23.81 kB / 0.97 GB, free: 7.766 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003449/0.3311, allocations: 152 kB / 0.9702 GB, free: 7.617 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005992/0.3317, allocations: 282.9 kB / 0.9705 GB, free: 7.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007532/0.3392, allocations: 4.492 MB / 0.9748 GB, free: 2.84 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03171/0.371, allocations: 27.7 MB / 1.002 GB, free: 4.633 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.3728, allocations: 1.119 MB / 1.003 GB, free: 3.504 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.3729, allocations: 13 kB / 1.003 GB, free: 3.492 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/0.373, allocations: 47.56 kB / 1.003 GB, free: 3.438 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=110): time 3.276e-06/0.373, allocations: 0 / 1.003 GB, free: 3.438 MB / 0.6511 GB Notification: Performance of matching and sorting (n=131): time 0.02229/0.3953, allocations: 9.656 MB / 1.012 GB, free: 9.57 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.3954, allocations: 64.72 kB / 1.013 GB, free: 9.492 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002443/0.3978, allocations: 1.49 MB / 1.014 GB, free: 8.004 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001185/0.398, allocations: 53.7 kB / 1.014 GB, free: 7.945 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001178/0.3992, allocations: 1.674 MB / 1.016 GB, free: 6.246 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000432/0.3996, allocations: 465.4 kB / 1.016 GB, free: 5.785 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.3997, allocations: 36 kB / 1.016 GB, free: 5.75 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.3999, allocations: 381.9 kB / 1.017 GB, free: 5.371 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/0.4013, allocations: 0.9057 MB / 1.017 GB, free: 4.465 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001735/0.4031, allocations: 1.451 MB / 1.019 GB, free: 2.777 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001701/0.4048, allocations: 1.138 MB / 1.02 GB, free: 1.637 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/0.4048, allocations: 4 kB / 1.02 GB, free: 1.633 MB / 0.6667 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00615/0.411, allocations: 3.274 MB / 1.023 GB, free: 14.32 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.791e-05/0.411, allocations: 12 kB / 1.023 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.181e-05/0.4111, allocations: 16 kB / 1.023 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002483/0.4136, allocations: 0.7336 MB / 1.024 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001871/0.4154, allocations: 395.3 kB / 1.024 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01598/0.4315, allocations: 16.04 MB / 1.04 GB, free: 11.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/0.4333, allocations: 99.91 kB / 1.04 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002935/0.4336, allocations: 83.94 kB / 1.04 GB, free: 11.72 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002702/0.4363, allocations: 1.309 MB / 1.041 GB, free: 10.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005656/0.4369, allocations: 197.7 kB / 1.042 GB, free: 10.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005342/0.4422, allocations: 2.78 MB / 1.044 GB, free: 7.383 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.4423, allocations: 16 kB / 1.044 GB, free: 7.367 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.465e-05/0.4423, allocations: 7.953 kB / 1.044 GB, free: 7.359 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/0.4423, allocations: 7.984 kB / 1.044 GB, free: 7.352 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.011/0.4533, allocations: 6.209 MB / 1.05 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/0.4534, allocations: 4 kB / 1.05 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/0.4545, allocations: 231.6 kB / 1.051 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001905/0.4564, allocations: 0.6677 MB / 1.051 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.905e-05/0.4565, allocations: 35.98 kB / 1.051 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.542/0.9985, allocations: 15.76 MB / 1.067 GB, free: 124.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.806e-06/0.9986, allocations: 10.06 kB / 1.067 GB, free: 124.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007529/1.006, allocations: 4.332 MB / 1.071 GB, free: 123.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001591/1.008, allocations: 457 kB / 1.071 GB, free: 123.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003164/1.008, allocations: 35.14 kB / 1.071 GB, free: 123.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009727/1.009, allocations: 84.09 kB / 1.071 GB, free: 123.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004654/1.01, allocations: 120.6 kB / 1.072 GB, free: 123.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/1.01, allocations: 42.03 kB / 1.072 GB, free: 123.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002045/1.012, allocations: 0.9741 MB / 1.073 GB, free: 123.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.41e-07/1.012, allocations: 0.6562 kB / 1.073 GB, free: 123.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003435/1.015, allocations: 0.6852 MB / 1.073 GB, free: 123.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.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 (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008159/1.023, allocations: 6.285 MB / 1.079 GB, free: 120.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005853/1.029, allocations: 3.486 MB / 1.083 GB, free: 118.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/1.029, allocations: 1.188 kB / 1.083 GB, free: 118.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003202/1.033, allocations: 2.285 MB / 1.085 GB, free: 117.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0031/1.036, allocations: 0.599 MB / 1.086 GB, free: 117.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03594/1.072, allocations: 29.28 MB / 1.114 GB, free: 95.45 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002663/1.074, allocations: 2.732 MB / 1.117 GB, free: 94.31 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001928/1.076, allocations: 482.5 kB / 1.117 GB, free: 94.23 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/1.078, allocations: 1.292 MB / 1.119 GB, free: 93.12 MB / 0.698 GB Notification: Performance of SimCode: time 8.32e-07/1.078, allocations: 0 / 1.119 GB, free: 93.12 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07947/1.157, allocations: 54.65 MB / 1.172 GB, free: 40.12 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/1.157, allocations: 234.6 kB / 1.172 GB, free: 39.88 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.311/4.469, allocations: 0 / 1.172 GB, free: 39.88 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)