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.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,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.475/1.475, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001222/0.001222, allocations: 188.9 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2/2, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.001134/0.001134, allocations: 103.7 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003436, allocations: 10.31 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2242, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.01994/0.2442, allocations: 26.62 MB / 0.9262 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01671/0.261, allocations: 12.59 MB / 0.9385 GB, free: 24.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002954/0.264, allocations: 119.2 kB / 0.9386 GB, free: 24.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002298/0.2663, allocations: 0.6327 MB / 0.9392 GB, free: 23.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.007252/0.2736, allocations: 2.103 MB / 0.9412 GB, free: 21.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004181/0.2778, allocations: 1.209 MB / 0.9424 GB, free: 20.47 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.006612/0.2844, allocations: 4.005 MB / 0.9463 GB, free: 16.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01266/0.2971, allocations: 8.51 MB / 0.9546 GB, free: 7.871 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004524/0.3017, allocations: 2.282 MB / 0.9569 GB, free: 5.582 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004752/0.3065, allocations: 2.036 MB / 0.9589 GB, free: 3.539 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001523/0.3081, allocations: 244 kB / 0.9591 GB, free: 3.301 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002681/0.3108, allocations: 0.597 MB / 0.9597 GB, free: 2.703 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001937/0.3127, allocations: 1.75 MB / 0.9614 GB, free: 0.9492 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001498/0.3142, allocations: 0.9681 MB / 0.9623 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.009101/0.3233, allocations: 7.605 MB / 0.9698 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3234, allocations: 0 / 0.9698 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.406e-06/0.3234, allocations: 0 / 0.9698 GB, free: 8.348 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003371/0.3237, allocations: 4 kB / 0.9698 GB, free: 8.344 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.009829/0.3336, allocations: 4.181 MB / 0.9738 GB, free: 4.082 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.3336, allocations: 8.031 kB / 0.9739 GB, free: 4.074 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00179/0.3354, allocations: 0.6201 MB / 0.9745 GB, free: 3.441 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005539/0.341, allocations: 0.9776 MB / 0.9754 GB, free: 2.457 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006851/0.3479, allocations: 2.814 MB / 0.9782 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002559/0.3482, allocations: 316.4 kB / 0.9785 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00119/0.3494, allocations: 416 kB / 0.9789 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01295/0.3623, allocations: 6.721 MB / 0.9854 GB, free: 7.828 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001234/0.3625, allocations: 19.84 kB / 0.9854 GB, free: 7.809 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004557/0.3629, allocations: 184 kB / 0.9856 GB, free: 7.629 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008952/0.3638, allocations: 376 kB / 0.986 GB, free: 7.258 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009207/0.3731, allocations: 5.075 MB / 0.9909 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03596/0.4091, allocations: 30.76 MB / 1.021 GB, free: 0.6406 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002323/0.4114, allocations: 1.391 MB / 1.022 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.725e-05/0.4115, allocations: 13.31 kB / 1.022 GB, free: 15.22 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.314e-05/0.4116, allocations: 47.88 kB / 1.022 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=130): time 3.537e-06/0.4116, allocations: 0 / 1.022 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of matching and sorting (n=199): time 0.08625/0.4979, allocations: 22.77 MB / 1.045 GB, free: 8.273 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.858e-05/0.498, allocations: 77.34 kB / 1.045 GB, free: 8.184 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002924/0.5009, allocations: 2.047 MB / 1.047 GB, free: 6.121 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003128/0.5012, allocations: 57.7 kB / 1.047 GB, free: 6.059 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001341/0.5026, allocations: 2.01 MB / 1.049 GB, free: 4.023 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006243/0.5032, allocations: 0.6739 MB / 1.049 GB, free: 3.34 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.5033, allocations: 48 kB / 1.049 GB, free: 3.293 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.5035, allocations: 402.5 kB / 1.05 GB, free: 2.895 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002016/0.5056, allocations: 1.418 MB / 1.051 GB, free: 1.473 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4035/0.9091, allocations: 1.995 MB / 1.053 GB, free: 135.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002632/0.9118, allocations: 1.733 MB / 1.055 GB, free: 135.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.848e-06/0.9118, allocations: 4.406 kB / 1.055 GB, free: 135.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01015/0.922, allocations: 5.628 MB / 1.06 GB, free: 134.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.64e-05/0.922, allocations: 14.12 kB / 1.06 GB, free: 134.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/0.9221, allocations: 18.17 kB / 1.06 GB, free: 134.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007206/0.9293, allocations: 2.081 MB / 1.062 GB, free: 134.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001803/0.9311, allocations: 379.2 kB / 1.063 GB, free: 134.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03312/0.9643, allocations: 36.27 MB / 1.098 GB, free: 107.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002463/0.9668, allocations: 125.2 kB / 1.098 GB, free: 107.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002089/0.967, allocations: 91.03 kB / 1.098 GB, free: 107.3 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 (204): * Single equations (assignments): 186 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(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.002268/0.9693, allocations: 1.513 MB / 1.1 GB, free: 106.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005349/0.9698, allocations: 282.7 kB / 1.1 GB, free: 106.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00964/0.9794, allocations: 5.185 MB / 1.105 GB, free: 104.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-05/0.9795, allocations: 23.45 kB / 1.105 GB, free: 104.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.75e-05/0.9796, allocations: 17.84 kB / 1.105 GB, free: 104.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.23e-05/0.9796, allocations: 10.97 kB / 1.105 GB, free: 104.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01574/0.9954, allocations: 9.659 MB / 1.115 GB, free: 98.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.9954, allocations: 7.312 kB / 1.115 GB, free: 98.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007652/0.9962, allocations: 217.4 kB / 1.115 GB, free: 98.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005192/1.001, allocations: 1.84 MB / 1.117 GB, free: 97.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002358/1.002, allocations: 41.23 kB / 1.117 GB, free: 97.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02639/1.028, allocations: 35.28 MB / 1.151 GB, free: 60.43 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/1.028, allocations: 11.94 kB / 1.151 GB, free: 60.42 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007817/1.036, allocations: 5.429 MB / 1.156 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001674/1.038, allocations: 0.6186 MB / 1.157 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005826/1.038, allocations: 43.98 kB / 1.157 GB, free: 53.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/1.04, allocations: 127.8 kB / 1.157 GB, free: 53.87 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005747/1.04, allocations: 193.5 kB / 1.157 GB, free: 53.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001175/1.04, allocations: 63.98 kB / 1.157 GB, free: 53.62 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001674/1.042, allocations: 1.355 MB / 1.159 GB, free: 52.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.2e-07/1.042, allocations: 0 / 1.159 GB, free: 52.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003597/1.046, allocations: 1.035 MB / 1.16 GB, free: 51.22 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * 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: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 18 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(3,100.0%) 5,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008306/1.054, allocations: 7.675 MB / 1.167 GB, free: 43.28 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.008917/1.063, allocations: 6.263 MB / 1.173 GB, free: 36.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/1.063, allocations: 0 / 1.173 GB, free: 36.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005773/1.069, allocations: 4.394 MB / 1.178 GB, free: 32.19 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004148/1.073, allocations: 0.8889 MB / 1.179 GB, free: 31.32 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05048/1.124, allocations: 36.87 MB / 1.215 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0051/1.129, allocations: 3.209 MB / 1.218 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002347/1.131, allocations: 0.5198 MB / 1.218 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002343/1.133, allocations: 1.671 MB / 1.22 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of SimCode: time 2.485e-06/1.133, allocations: 3.938 kB / 1.22 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1397/1.273, allocations: 85.56 MB / 1.303 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/1.273, allocations: 232 kB / 1.304 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.506/5.78, allocations: 0 / 1.304 GB, free: 14.43 MB / 0.8073 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)