Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002133/0.002133, allocations: 198.2 kB / 16.64 MB, free: 6.449 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.446/1.446, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.708/1.708, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.002236/0.002236, allocations: 71.06 kB / 0.6718 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3025, allocations: 114.5 MB / 0.7837 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.0383/0.3408, allocations: 26.58 MB / 0.8096 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02259/0.3634, allocations: 8.13 MB / 0.8175 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003905/0.3674, allocations: 111.4 kB / 0.8177 GB, free: 10.33 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01037/0.3778, allocations: 2.763 MB / 0.8204 GB, free: 7.562 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007418/0.3853, allocations: 1.586 MB / 0.8219 GB, free: 5.969 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007928/0.3932, allocations: 1.675 MB / 0.8235 GB, free: 4.297 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01144/0.4047, allocations: 6.146 MB / 0.8295 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0159/0.4207, allocations: 7.316 MB / 0.8367 GB, free: 6.707 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006972/0.4277, allocations: 2.566 MB / 0.8392 GB, free: 4.133 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007727/0.4355, allocations: 2.831 MB / 0.842 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002529/0.438, allocations: 0.5117 MB / 0.8425 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005665/0.4437, allocations: 1.291 MB / 0.8437 GB, free: 15.49 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.004976/0.4488, allocations: 2.05 MB / 0.8457 GB, free: 13.43 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.007682/0.4565, allocations: 2.381 MB / 0.848 GB, free: 11.04 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01443/0.471, allocations: 8.047 MB / 0.8559 GB, free: 2.973 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.423e-06/0.471, allocations: 0 / 0.8559 GB, free: 2.973 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.994e-06/0.471, allocations: 0 / 0.8559 GB, free: 2.973 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003019/0.4713, allocations: 0 / 0.8559 GB, free: 2.973 MB / 0.67 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.01655/0.4879, allocations: 4.232 MB / 0.86 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.488, allocations: 8.031 kB / 0.86 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002488/0.4905, allocations: 0.5421 MB / 0.8606 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008255/0.4988, allocations: 0.8001 MB / 0.8614 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00827/0.5071, allocations: 2.577 MB / 0.8639 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003607/0.5075, allocations: 267.7 kB / 0.8641 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001673/0.5091, allocations: 384.3 kB / 0.8645 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01247/0.5216, allocations: 5.992 MB / 0.8703 GB, free: 3.793 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.282e-05/0.5218, allocations: 23.77 kB / 0.8704 GB, free: 3.77 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003722/0.5222, allocations: 156 kB / 0.8705 GB, free: 3.617 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005453/0.5227, allocations: 278.9 kB / 0.8708 GB, free: 3.344 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007449/0.5302, allocations: 4.52 MB / 0.8752 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03187/0.5621, allocations: 27.46 MB / 0.902 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/0.5636, allocations: 1.116 MB / 0.9031 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/0.5648, allocations: 1.037 MB / 0.9041 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.059e-05/0.5649, allocations: 13 kB / 0.9041 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.5649, allocations: 47.56 kB / 0.9042 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=110): time 2.936e-06/0.5649, allocations: 0 / 0.9042 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of matching and sorting (n=131): time 0.02057/0.5855, allocations: 9.658 MB / 0.9136 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.5856, allocations: 64.72 kB / 0.9137 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001943/0.5875, allocations: 1.498 MB / 0.9151 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001504/0.5877, allocations: 49.7 kB / 0.9152 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009813/0.5887, allocations: 1.667 MB / 0.9168 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003862/0.5891, allocations: 473.3 kB / 0.9172 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004817/0.5896, allocations: 335.2 kB / 0.9176 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.5897, allocations: 305.1 kB / 0.9179 GB, free: 348 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4006/0.9903, allocations: 0.9072 MB / 0.9187 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002807/0.9931, allocations: 1.461 MB / 0.9202 GB, free: 125.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004313/0.9975, allocations: 2.557 MB / 0.9227 GB, free: 124.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.011e-05/0.9975, allocations: 4.719 kB / 0.9227 GB, free: 124.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006336/1.004, allocations: 3.286 MB / 0.9259 GB, free: 123.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.879e-05/1.004, allocations: 13.53 kB / 0.9259 GB, free: 123.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.688e-05/1.004, allocations: 21.03 kB / 0.9259 GB, free: 123.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00204/1.006, allocations: 0.7349 MB / 0.9266 GB, free: 123.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/1.008, allocations: 388.5 kB / 0.927 GB, free: 123.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0146/1.022, allocations: 17.04 MB / 0.9436 GB, free: 108.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001986/1.024, allocations: 101.7 kB / 0.9437 GB, free: 108.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001944/1.024, allocations: 72.31 kB / 0.9438 GB, free: 108.7 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (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.00261/1.027, allocations: 1.309 MB / 0.9451 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005458/1.028, allocations: 204.5 kB / 0.9453 GB, free: 108.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005512/1.033, allocations: 2.79 MB / 0.948 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.542e-05/1.033, allocations: 12.69 kB / 0.948 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.276e-05/1.033, allocations: 11.03 kB / 0.948 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.819e-05/1.033, allocations: 6.969 kB / 0.948 GB, free: 106.9 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/1.046, allocations: 6.211 MB / 0.9541 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/1.046, allocations: 5.469 kB / 0.9541 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/1.047, allocations: 234.1 kB / 0.9543 GB, free: 104.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001903/1.049, allocations: 0.6716 MB / 0.955 GB, free: 104.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001108/1.049, allocations: 36.72 kB / 0.955 GB, free: 104 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01278/1.062, allocations: 16.78 MB / 0.9714 GB, free: 89.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.14e-05/1.062, allocations: 10.66 kB / 0.9714 GB, free: 89.62 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007223/1.069, allocations: 4.005 MB / 0.9753 GB, free: 87.82 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001479/1.071, allocations: 461.8 kB / 0.9758 GB, free: 87.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002856/1.071, allocations: 37.12 kB / 0.9758 GB, free: 87.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009154/1.072, allocations: 79.56 kB / 0.9759 GB, free: 87.47 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003658/1.072, allocations: 123.9 kB / 0.976 GB, free: 87.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.573e-05/1.072, allocations: 35.44 kB / 0.976 GB, free: 87.39 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001316/1.074, allocations: 0.995 MB / 0.977 GB, free: 86.86 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.6e-07/1.074, allocations: 0 / 0.977 GB, free: 86.86 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003219/1.077, allocations: 0.6903 MB / 0.9777 GB, free: 86.8 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.005292/1.082, allocations: 4.596 MB / 0.9822 GB, free: 83.84 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004856/1.087, allocations: 3.523 MB / 0.9856 GB, free: 81.51 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/1.087, allocations: 3.781 kB / 0.9856 GB, free: 81.51 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002619/1.09, allocations: 2.292 MB / 0.9878 GB, free: 79.78 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002978/1.093, allocations: 0.6654 MB / 0.9885 GB, free: 79.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02869/1.122, allocations: 21.15 MB / 1.009 GB, free: 58.73 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002214/1.124, allocations: 2.672 MB / 1.012 GB, free: 56.03 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00136/1.125, allocations: 484.8 kB / 1.012 GB, free: 55.56 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001112/1.126, allocations: 1.28 MB / 1.013 GB, free: 54.28 MB / 0.7325 GB Notification: Performance of SimCode: time 1.753e-06/1.126, allocations: 4 kB / 1.013 GB, free: 54.28 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09746/1.224, allocations: 56.3 MB / 1.068 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/13.62, allocations: 10.75 kB / 1.068 GB, free: 14.71 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)