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_R.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_R,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.449/1.449, allocations: 251.9 MB / 266.9 MB, free: 10.99 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.001112/0.001112, allocations: 166.9 kB / 326.5 MB, free: 2.227 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.821/1.821, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.001012/0.001012, allocations: 84.56 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004066/0.0004068, allocations: 11.41 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2497, allocations: 106.3 MB / 0.9002 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02509/0.2749, allocations: 30.61 MB / 0.9301 GB, free: 33.1 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01517/0.2901, allocations: 9.661 MB / 0.9395 GB, free: 23.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003952/0.2941, allocations: 119.2 kB / 0.9396 GB, free: 23.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002702/0.2968, allocations: 0.6793 MB / 0.9403 GB, free: 22.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00721/0.3041, allocations: 1.573 MB / 0.9418 GB, free: 21.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004717/0.3088, allocations: 1.163 MB / 0.9429 GB, free: 19.88 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.007872/0.3167, allocations: 3.893 MB / 0.9467 GB, free: 15.97 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01439/0.3312, allocations: 10.39 MB / 0.9569 GB, free: 5.504 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003964/0.3352, allocations: 2.129 MB / 0.959 GB, free: 3.367 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003765/0.339, allocations: 2.203 MB / 0.9611 GB, free: 1.156 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001025/0.34, allocations: 280 kB / 0.9614 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002235/0.3422, allocations: 0.5268 MB / 0.9619 GB, free: 364 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.002562/0.3448, allocations: 1.918 MB / 0.9638 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.002404/0.3472, allocations: 1.027 MB / 0.9648 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.3584, allocations: 8.408 MB / 0.973 GB, free: 4.965 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3585, allocations: 0 / 0.973 GB, free: 4.965 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.366e-06/0.3585, allocations: 3.938 kB / 0.973 GB, free: 4.961 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0004024/0.3589, allocations: 0 / 0.973 GB, free: 4.961 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.0128/0.3717, allocations: 4.375 MB / 0.9773 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.3718, allocations: 8.031 kB / 0.9773 GB, free: 0.5078 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00303/0.3748, allocations: 0.7022 MB / 0.978 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004994/0.3798, allocations: 0.911 MB / 0.9788 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008003/0.3879, allocations: 2.921 MB / 0.9817 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004465/0.3884, allocations: 361.5 kB / 0.982 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002112/0.3905, allocations: 464 kB / 0.9825 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02003/0.4105, allocations: 7.824 MB / 0.9901 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001318/0.4107, allocations: 31.7 kB / 0.9902 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006545/0.4114, allocations: 208 kB / 0.9904 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005935/0.412, allocations: 369 kB / 0.9907 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0136/0.4256, allocations: 5.898 MB / 0.9965 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04747/0.4731, allocations: 36.24 MB / 1.032 GB, free: 4.922 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003777/0.477, allocations: 2.142 MB / 1.034 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001354/0.4771, allocations: 17.31 kB / 1.034 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.195e-05/0.4772, allocations: 51.88 kB / 1.034 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=157): time 4.388e-06/0.4772, allocations: 3.938 kB / 1.034 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of matching and sorting (n=160): time 0.0151/0.4923, allocations: 7.532 MB / 1.041 GB, free: 10.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.027e-05/0.4924, allocations: 72.7 kB / 1.041 GB, free: 10.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003153/0.4956, allocations: 1.841 MB / 1.043 GB, free: 8.938 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002766/0.4959, allocations: 53.7 kB / 1.043 GB, free: 8.879 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001707/0.4976, allocations: 2.127 MB / 1.045 GB, free: 6.727 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006594/0.4983, allocations: 0.5585 MB / 1.046 GB, free: 6.16 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.4984, allocations: 44 kB / 1.046 GB, free: 6.117 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002059/0.4986, allocations: 402.3 kB / 1.046 GB, free: 5.719 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001611/0.5002, allocations: 1.047 MB / 1.047 GB, free: 4.668 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002119/0.5024, allocations: 1.744 MB / 1.049 GB, free: 2.602 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00193/0.5043, allocations: 1.349 MB / 1.05 GB, free: 1.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.275e-05/0.5043, allocations: 4 kB / 1.05 GB, free: 1.246 MB / 0.698 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.4849/0.9893, allocations: 3.9 MB / 1.054 GB, free: 134.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.768e-05/0.9893, allocations: 13.78 kB / 1.054 GB, free: 134.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.952e-05/0.9894, allocations: 21.69 kB / 1.054 GB, free: 134.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002311/0.9917, allocations: 0.9312 MB / 1.055 GB, free: 134.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/0.9932, allocations: 426.3 kB / 1.056 GB, free: 134.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0203/1.014, allocations: 21.43 MB / 1.076 GB, free: 119.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002467/1.016, allocations: 122.7 kB / 1.077 GB, free: 119.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003188/1.016, allocations: 95.11 kB / 1.077 GB, free: 119.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004223/1.021, allocations: 1.654 MB / 1.078 GB, free: 119.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000883/1.022, allocations: 251.8 kB / 1.079 GB, free: 119.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006793/1.028, allocations: 3.257 MB / 1.082 GB, free: 118.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.627e-05/1.028, allocations: 16.25 kB / 1.082 GB, free: 118.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.139e-05/1.028, allocations: 12.84 kB / 1.082 GB, free: 118.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/1.028, allocations: 11.5 kB / 1.082 GB, free: 118.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01337/1.042, allocations: 7.533 MB / 1.089 GB, free: 115.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/1.042, allocations: 4.531 kB / 1.089 GB, free: 115.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008527/1.043, allocations: 219 kB / 1.089 GB, free: 115.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002214/1.045, allocations: 0.8932 MB / 1.09 GB, free: 115 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000146/1.045, allocations: 35.83 kB / 1.09 GB, free: 115 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01667/1.062, allocations: 21.38 MB / 1.111 GB, free: 96.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/1.062, allocations: 10.88 kB / 1.111 GB, free: 96.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005199/1.067, allocations: 3.701 MB / 1.115 GB, free: 93.79 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001294/1.068, allocations: 0.5288 MB / 1.115 GB, free: 93.39 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002788/1.069, allocations: 31.34 kB / 1.115 GB, free: 93.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/1.07, allocations: 89.11 kB / 1.115 GB, free: 93.33 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003777/1.07, allocations: 145 kB / 1.116 GB, free: 93.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.632e-05/1.07, allocations: 46.44 kB / 1.116 GB, free: 93.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001544/1.072, allocations: 1.208 MB / 1.117 GB, free: 92.56 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.92e-07/1.072, allocations: 0 / 1.117 GB, free: 92.56 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00334/1.075, allocations: 0.9056 MB / 1.118 GB, free: 92.49 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(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,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005259/1.08, allocations: 5.416 MB / 1.123 GB, free: 88.11 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.006393/1.087, allocations: 4.409 MB / 1.127 GB, free: 83.55 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-05/1.087, allocations: 4.062 kB / 1.127 GB, free: 83.55 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.003972/1.091, allocations: 2.996 MB / 1.13 GB, free: 80.41 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003598/1.094, allocations: 0.7449 MB / 1.131 GB, free: 79.67 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03722/1.132, allocations: 36.52 MB / 1.167 GB, free: 41.54 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003375/1.135, allocations: 3.285 MB / 1.17 GB, free: 38.22 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002198/1.137, allocations: 0.5293 MB / 1.17 GB, free: 37.68 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001786/1.139, allocations: 1.659 MB / 1.172 GB, free: 36.02 MB / 0.698 GB Notification: Performance of SimCode: time 1.854e-06/1.139, allocations: 0 / 1.172 GB, free: 36.02 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1107/1.25, allocations: 68.67 MB / 1.239 GB, free: 88 kB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/1.25, allocations: 237.6 kB / 1.239 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.789/5.039, allocations: 0 / 1.239 GB, free: 15.84 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)