Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.926/1.926, allocations: 288.4 MB / 303.3 MB, free: 8.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 183 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 205.4 MB / 0.6307 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001028/0.001029, allocations: 88.64 kB / 0.744 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004222/0.0004222, allocations: 13.28 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2435, allocations: 115.3 MB / 0.9797 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.009195/0.2527, allocations: 10.77 MB / 0.9902 GB, free: 16.76 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007413/0.2602, allocations: 5.22 MB / 0.9953 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.2615, allocations: 31.88 kB / 0.9953 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0008512/0.2624, allocations: 298 kB / 0.9956 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001272/0.2637, allocations: 0.5286 MB / 0.9961 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001478/0.2652, allocations: 0.4949 MB / 0.9966 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002291/0.2675, allocations: 2.911 MB / 0.9994 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004275/0.2718, allocations: 3.857 MB / 1.003 GB, free: 3.355 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00142/0.2732, allocations: 0.7823 MB / 1.004 GB, free: 2.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001312/0.2745, allocations: 1.079 MB / 1.005 GB, free: 1.488 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001839/0.2747, allocations: 100 kB / 1.005 GB, free: 1.391 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008952/0.2756, allocations: 323.6 kB / 1.005 GB, free: 1.074 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005223/0.2761, allocations: 0.7365 MB / 1.006 GB, free: 344 kB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003347/0.2765, allocations: 365 kB / 1.006 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003184/0.2797, allocations: 3.257 MB / 1.01 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.2797, allocations: 0 / 1.01 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.359e-06/0.2797, allocations: 7.938 kB / 1.01 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.411e-05/0.2798, allocations: 3.938 kB / 1.01 GB, free: 12.7 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.003715/0.2835, allocations: 1.765 MB / 1.011 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.2836, allocations: 11.97 kB / 1.011 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004097/0.284, allocations: 272.7 kB / 1.012 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003144/0.2871, allocations: 0.747 MB / 1.012 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002248/0.2894, allocations: 1.223 MB / 1.014 GB, free: 8.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.824e-05/0.2895, allocations: 123.2 kB / 1.014 GB, free: 8.449 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002717/0.2898, allocations: 156 kB / 1.014 GB, free: 8.297 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005236/0.295, allocations: 2.944 MB / 1.017 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.271e-05/0.2951, allocations: 0 / 1.017 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002072/0.2953, allocations: 71.97 kB / 1.017 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004672/0.2958, allocations: 203 kB / 1.017 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004017/0.2998, allocations: 2.507 MB / 1.019 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01319/0.313, allocations: 10.89 MB / 1.03 GB, free: 6.723 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.3144, allocations: 0.9175 MB / 1.031 GB, free: 5.762 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007436/0.3152, allocations: 0.5081 MB / 1.031 GB, free: 5.254 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/0.3153, allocations: 93.41 kB / 1.032 GB, free: 5.145 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.3154, allocations: 38.94 kB / 1.032 GB, free: 5.098 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=46): time 3.296e-06/0.3154, allocations: 4 kB / 1.032 GB, free: 5.094 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70): time 0.02875/0.3441, allocations: 8.979 MB / 1.04 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.031e-05/0.3443, allocations: 85.67 kB / 1.04 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/0.3458, allocations: 0.9454 MB / 1.041 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001515/0.3459, allocations: 33.7 kB / 1.041 GB, free: 10.94 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005532/0.3465, allocations: 0.7736 MB / 1.042 GB, free: 10.15 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002482/0.3467, allocations: 244.6 kB / 1.042 GB, free: 9.906 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.332e-05/0.3468, allocations: 20 kB / 1.042 GB, free: 9.887 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002282/0.3471, allocations: 402.7 kB / 1.043 GB, free: 9.484 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.3483, allocations: 0.795 MB / 1.044 GB, free: 8.688 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/0.3498, allocations: 1.16 MB / 1.045 GB, free: 7.371 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/0.3512, allocations: 0.9947 MB / 1.046 GB, free: 6.379 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.3512, allocations: 4 kB / 1.046 GB, free: 6.375 MB / 0.6667 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01026/0.3615, allocations: 3.787 MB / 1.049 GB, free: 2.57 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003895/0.3619, allocations: 421.1 kB / 1.05 GB, free: 2.004 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/0.362, allocations: 12 kB / 1.05 GB, free: 1.992 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008667/0.3706, allocations: 2.153 MB / 1.052 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009892/0.3717, allocations: 231.6 kB / 1.052 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01632/0.388, allocations: 10.26 MB / 1.062 GB, free: 5.094 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.3896, allocations: 195.6 kB / 1.062 GB, free: 4.902 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.3897, allocations: 47.98 kB / 1.062 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/0.3897, allocations: 4 kB / 1.062 GB, free: 4.852 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008059/0.3978, allocations: 3.08 MB / 1.065 GB, free: 1.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.608e-05/0.3978, allocations: 12 kB / 1.065 GB, free: 1.754 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005792/0.4036, allocations: 1.359 MB / 1.067 GB, free: 400 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.4048, allocations: 291.5 kB / 1.067 GB, free: 108 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4999/0.9047, allocations: 6.148 MB / 1.073 GB, free: 80.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/0.9066, allocations: 168.4 kB / 1.073 GB, free: 80.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/0.9068, allocations: 46.95 kB / 1.073 GB, free: 80.91 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.001895/0.9087, allocations: 0.9015 MB / 1.074 GB, free: 80.48 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003005/0.909, allocations: 87 kB / 1.074 GB, free: 80.48 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.011/0.92, allocations: 3.324 MB / 1.077 GB, free: 79.63 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.688e-05/0.9201, allocations: 14.61 kB / 1.077 GB, free: 79.63 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.499e-05/0.9201, allocations: 2.406 kB / 1.077 GB, free: 79.63 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.131e-05/0.9201, allocations: 4.141 kB / 1.077 GB, free: 79.63 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01446/0.9346, allocations: 5.477 MB / 1.083 GB, free: 77.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.692e-05/0.9347, allocations: 3.141 kB / 1.083 GB, free: 77.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005177/0.9352, allocations: 105.6 kB / 1.083 GB, free: 77.72 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008388/0.9436, allocations: 1.981 MB / 1.085 GB, free: 77.48 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001269/0.9438, allocations: 14.2 kB / 1.085 GB, free: 77.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01371/0.9575, allocations: 9.654 MB / 1.094 GB, free: 72.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.9575, allocations: 1.625 kB / 1.094 GB, free: 72.28 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008754/0.9663, allocations: 3.207 MB / 1.097 GB, free: 71.36 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008853/0.9672, allocations: 328 kB / 1.098 GB, free: 71.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/0.9674, allocations: 17.09 kB / 1.098 GB, free: 71.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000926/0.9683, allocations: 150.8 kB / 1.098 GB, free: 71.13 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003221/0.9686, allocations: 74.55 kB / 1.098 GB, free: 71.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.173e-05/0.9687, allocations: 19.12 kB / 1.098 GB, free: 71.11 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001036/0.9698, allocations: 0.6716 MB / 1.099 GB, free: 70.71 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9698, allocations: 0 / 1.099 GB, free: 70.71 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002477/0.9723, allocations: 0.6774 MB / 1.099 GB, free: 70.66 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.009019/0.9813, allocations: 3.804 MB / 1.103 GB, free: 68.32 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007901/0.9892, allocations: 3.91 MB / 1.107 GB, free: 66.12 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/0.9893, allocations: 1.5 kB / 1.107 GB, free: 66.12 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002255/0.9915, allocations: 1.312 MB / 1.108 GB, free: 65.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/0.9931, allocations: 245.3 kB / 1.108 GB, free: 65.19 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02364/1.017, allocations: 11.41 MB / 1.119 GB, free: 58.33 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001389/1.018, allocations: 1.723 MB / 1.121 GB, free: 57.11 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001399/1.02, allocations: 0.516 MB / 1.122 GB, free: 56.89 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005415/1.02, allocations: 0.498 MB / 1.122 GB, free: 56.44 MB / 0.6823 GB Notification: Performance of SimCode: time 6.91e-07/1.02, allocations: 0 / 1.122 GB, free: 56.44 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05762/1.078, allocations: 41.59 MB / 1.163 GB, free: 16.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002832/1.078, allocations: 264.1 kB / 1.163 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.767/3.845, allocations: 0 / 1.163 GB, free: 16.46 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)