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.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,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",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.81/1.81, allocations: 288.4 MB / 303.3 MB, free: 8.109 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.001016/0.001016, allocations: 183.4 kB / 372 MB, free: 10.26 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.587/1.587, allocations: 205.4 MB / 0.6307 GB, free: 9.98 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.0007902/0.0007902, allocations: 94.39 kB / 0.744 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004071/0.0004074, allocations: 12.31 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.254, allocations: 115.3 MB / 0.9797 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01096/0.265, allocations: 10.68 MB / 0.9901 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008463/0.2736, allocations: 5.01 MB / 0.995 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.275, allocations: 31.88 kB / 0.995 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.2764, allocations: 294.1 kB / 0.9953 GB, free: 11.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001857/0.2783, allocations: 0.5053 MB / 0.9958 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001744/0.28, allocations: 468.1 kB / 0.9962 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.002849/0.2829, allocations: 2.778 MB / 0.9989 GB, free: 7.738 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004841/0.2878, allocations: 3.628 MB / 1.002 GB, free: 4.059 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001388/0.2892, allocations: 0.724 MB / 1.003 GB, free: 3.332 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001683/0.2909, allocations: 1.001 MB / 1.004 GB, free: 2.328 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000225/0.2911, allocations: 92 kB / 1.004 GB, free: 2.238 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.2921, allocations: 311.6 kB / 1.005 GB, free: 1.934 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005703/0.2927, allocations: 0.7249 MB / 1.005 GB, free: 1.207 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003675/0.2931, allocations: 345 kB / 1.006 GB, free: 0.8633 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002745/0.2958, allocations: 3.016 MB / 1.009 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.2959, allocations: 3.984 kB / 1.009 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.953e-06/0.2959, allocations: 0 / 1.009 GB, free: 13.84 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.244e-05/0.2959, allocations: 0 / 1.009 GB, free: 13.84 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.003465/0.2994, allocations: 1.628 MB / 1.01 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.2995, allocations: 19.97 kB / 1.01 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003648/0.2998, allocations: 248.2 kB / 1.01 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002389/0.3022, allocations: 477.5 kB / 1.011 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002066/0.3043, allocations: 1.127 MB / 1.012 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.148e-05/0.3044, allocations: 123.1 kB / 1.012 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002777/0.3047, allocations: 152 kB / 1.012 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004588/0.3093, allocations: 2.735 MB / 1.015 GB, free: 7.168 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.335e-05/0.3094, allocations: 7.938 kB / 1.015 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001713/0.3096, allocations: 63.98 kB / 1.015 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003574/0.3099, allocations: 174.9 kB / 1.015 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003874/0.3138, allocations: 2.288 MB / 1.017 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01358/0.3274, allocations: 10.53 MB / 1.028 GB, free: 9.219 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.3285, allocations: 0.5803 MB / 1.028 GB, free: 8.629 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006551/0.3291, allocations: 384.6 kB / 1.029 GB, free: 8.25 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/0.3293, allocations: 97.02 kB / 1.029 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/0.3293, allocations: 38.56 kB / 1.029 GB, free: 8.09 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 3.586e-06/0.3293, allocations: 0 / 1.029 GB, free: 8.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.02071/0.3501, allocations: 6.274 MB / 1.035 GB, free: 1.75 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/0.3502, allocations: 81.55 kB / 1.035 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.3515, allocations: 0.8906 MB / 1.036 GB, free: 0.7461 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001361/0.3517, allocations: 37.7 kB / 1.036 GB, free: 0.7031 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005272/0.3522, allocations: 0.7578 MB / 1.037 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001796/0.3524, allocations: 181.4 kB / 1.037 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.993e-05/0.3525, allocations: 20 kB / 1.037 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001951/0.3527, allocations: 386.8 kB / 1.037 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009774/0.3536, allocations: 0.6421 MB / 1.038 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001277/0.3549, allocations: 1.007 MB / 1.039 GB, free: 13.52 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.3562, allocations: 0.8062 MB / 1.04 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/0.3562, allocations: 4 kB / 1.04 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.009367/0.3656, allocations: 3.206 MB / 1.043 GB, free: 9.488 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004908/0.3661, allocations: 435 kB / 1.043 GB, free: 8.902 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.523e-05/0.3662, allocations: 15.98 kB / 1.043 GB, free: 8.887 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008255/0.3744, allocations: 1.864 MB / 1.045 GB, free: 7.008 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009854/0.3755, allocations: 223.6 kB / 1.045 GB, free: 6.789 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01521/0.3907, allocations: 10.22 MB / 1.055 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/0.3923, allocations: 179.6 kB / 1.055 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002374/0.3926, allocations: 40 kB / 1.055 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3926, allocations: 5.25 kB / 1.055 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007616/0.4002, allocations: 2.622 MB / 1.058 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.181e-05/0.4003, allocations: 12 kB / 1.058 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005415/0.4057, allocations: 1.203 MB / 1.059 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.4069, allocations: 255.5 kB / 1.059 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008164/0.4151, allocations: 5.531 MB / 1.065 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.4166, allocations: 151.7 kB / 1.065 GB, free: 1.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001975/0.4168, allocations: 44.06 kB / 1.065 GB, free: 1.727 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001687/0.4185, allocations: 0.8454 MB / 1.066 GB, free: 0.8711 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002793/0.4188, allocations: 83.06 kB / 1.066 GB, free: 0.7891 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5247/0.9436, allocations: 2.684 MB / 1.068 GB, free: 83.41 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/0.9436, allocations: 5.953 kB / 1.068 GB, free: 83.41 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/0.9436, allocations: 2.125 kB / 1.068 GB, free: 83.41 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.941e-05/0.9437, allocations: 3.094 kB / 1.068 GB, free: 83.41 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0127/0.9564, allocations: 4.624 MB / 1.073 GB, free: 82.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.891e-05/0.9564, allocations: 5.016 kB / 1.073 GB, free: 82.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005516/0.957, allocations: 96.2 kB / 1.073 GB, free: 82.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00798/0.965, allocations: 1.707 MB / 1.075 GB, free: 82.32 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/0.9652, allocations: 16.03 kB / 1.075 GB, free: 82.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01337/0.9785, allocations: 9.765 MB / 1.084 GB, free: 75.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.9786, allocations: 2.406 kB / 1.084 GB, free: 75.57 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008534/0.9871, allocations: 2.642 MB / 1.087 GB, free: 74.84 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008212/0.988, allocations: 281.4 kB / 1.087 GB, free: 74.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/0.9881, allocations: 14.02 kB / 1.087 GB, free: 74.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008626/0.989, allocations: 136.1 kB / 1.087 GB, free: 74.68 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003045/0.9893, allocations: 47.8 kB / 1.087 GB, free: 74.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.178e-05/0.9894, allocations: 15.59 kB / 1.087 GB, free: 74.66 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001036/0.9904, allocations: 0.6442 MB / 1.088 GB, free: 74.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9904, allocations: 2.734 kB / 1.088 GB, free: 74.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002345/0.9928, allocations: 0.5828 MB / 1.088 GB, free: 74.36 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): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.008238/1.001, allocations: 3.237 MB / 1.092 GB, free: 73.09 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005406/1.006, allocations: 3.244 MB / 1.095 GB, free: 71.58 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.006, allocations: 0 / 1.095 GB, free: 71.58 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001939/1.008, allocations: 1.284 MB / 1.096 GB, free: 70.88 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/1.01, allocations: 210 kB / 1.096 GB, free: 70.82 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02066/1.03, allocations: 9.824 MB / 1.106 GB, free: 65.29 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/1.032, allocations: 1.622 MB / 1.107 GB, free: 64.12 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001404/1.033, allocations: 495.9 kB / 1.108 GB, free: 63.93 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004888/1.034, allocations: 488 kB / 1.108 GB, free: 63.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.453e-06/1.034, allocations: 0 / 1.108 GB, free: 63.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0491/1.083, allocations: 34.41 MB / 1.142 GB, free: 37.09 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/1.083, allocations: 258.7 kB / 1.142 GB, free: 36.75 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.82/3.903, allocations: 2.344 kB / 1.142 GB, free: 36.75 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)