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.ACSimpleGrid.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.ACSimpleGrid,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.574/1.574, allocations: 249.3 MB / 261.8 MB, free: 5.883 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001215/0.001215, allocations: 182.5 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.793/1.793, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0009613/0.0009613, allocations: 95.7 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.43e-05/4.441e-05, allocations: 7.984 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2233, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7939/1.017, allocations: 185.4 MB / 1.073 GB, free: 15.64 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003306/1.018, allocations: 95.38 kB / 1.073 GB, free: 15.59 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1635/1.181, allocations: 63.79 MB / 1.135 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.893e-06/1.181, allocations: 0 / 1.135 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001025/1.181, allocations: 39.94 kB / 1.135 GB, free: 5.375 MB / 0.7448 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.004205/1.186, allocations: 1.562 MB / 1.137 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.653e-05/1.186, allocations: 8.031 kB / 1.137 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006208/1.186, allocations: 248.2 kB / 1.137 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002846/1.189, allocations: 0.4975 MB / 1.138 GB, free: 3 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002586/1.192, allocations: 1.139 MB / 1.139 GB, free: 1.816 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.674e-05/1.192, allocations: 115.1 kB / 1.139 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003366/1.192, allocations: 155.9 kB / 1.139 GB, free: 1.551 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004632/1.197, allocations: 2.435 MB / 1.141 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.107e-05/1.197, allocations: 4 kB / 1.141 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001863/1.197, allocations: 67.98 kB / 1.141 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001141/1.197, allocations: 87.06 kB / 1.142 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003895/1.201, allocations: 1.972 MB / 1.143 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01557/1.217, allocations: 10.52 MB / 1.154 GB, free: 1.512 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/1.218, allocations: 0.5568 MB / 1.154 GB, free: 0.9453 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005622/1.218, allocations: 376.7 kB / 1.155 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001632/1.219, allocations: 89.09 kB / 1.155 GB, free: 480 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/1.219, allocations: 34.56 kB / 1.155 GB, free: 436 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=36): time 3.396e-06/1.219, allocations: 0 / 1.155 GB, free: 436 kB / 0.7605 GB Notification: Performance of matching and sorting (n=52): time 0.01525/1.234, allocations: 4.783 MB / 1.159 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/1.234, allocations: 85.55 kB / 1.16 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/1.235, allocations: 0.8079 MB / 1.16 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001166/1.235, allocations: 33.7 kB / 1.16 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005549/1.236, allocations: 0.7538 MB / 1.161 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002016/1.236, allocations: 193.4 kB / 1.161 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.842e-05/1.236, allocations: 12 kB / 1.161 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002174/1.237, allocations: 390.7 kB / 1.162 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008905/1.237, allocations: 0.5915 MB / 1.162 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/1.239, allocations: 0.9606 MB / 1.163 GB, free: 7.578 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/1.24, allocations: 0.776 MB / 1.164 GB, free: 6.801 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/1.24, allocations: 0 / 1.164 GB, free: 6.801 MB / 0.7761 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.006805/1.247, allocations: 2.772 MB / 1.167 GB, free: 4.008 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.002266/1.249, allocations: 4.537 MB / 1.171 GB, free: 15.12 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.743e-05/1.249, allocations: 12 kB / 1.171 GB, free: 15.11 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005511/1.254, allocations: 1.423 MB / 1.172 GB, free: 13.67 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/1.255, allocations: 223.7 kB / 1.173 GB, free: 13.45 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008779/1.264, allocations: 6.821 MB / 1.179 GB, free: 6.301 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/1.266, allocations: 159.6 kB / 1.179 GB, free: 6.145 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/1.266, allocations: 47.94 kB / 1.18 GB, free: 6.098 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/1.266, allocations: 4 kB / 1.18 GB, free: 6.094 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005542/1.271, allocations: 2.251 MB / 1.182 GB, free: 3.836 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.251e-05/1.272, allocations: 16.03 kB / 1.182 GB, free: 3.82 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003151/1.275, allocations: 0.856 MB / 1.183 GB, free: 2.957 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/1.276, allocations: 259.5 kB / 1.183 GB, free: 2.703 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00723/1.283, allocations: 5.372 MB / 1.188 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/1.284, allocations: 139.8 kB / 1.188 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/1.285, allocations: 40 kB / 1.188 GB, free: 12.88 MB / 0.8073 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 () * 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.0003599/1.285, allocations: 168.6 kB / 1.188 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/1.285, allocations: 75.06 kB / 1.188 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00627/1.291, allocations: 2.317 MB / 1.191 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/1.292, allocations: 8 kB / 1.191 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/1.292, allocations: 0 / 1.191 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/1.292, allocations: 3.984 kB / 1.191 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009679/1.301, allocations: 4.254 MB / 1.195 GB, free: 5.906 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/1.301, allocations: 0 / 1.195 GB, free: 5.906 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005325/1.302, allocations: 107.8 kB / 1.195 GB, free: 5.801 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005022/1.307, allocations: 1.369 MB / 1.196 GB, free: 4.418 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/1.307, allocations: 16 kB / 1.196 GB, free: 4.402 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01204/1.319, allocations: 9.477 MB / 1.206 GB, free: 10.39 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/1.319, allocations: 4.031 kB / 1.206 GB, free: 10.39 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005815/1.325, allocations: 2.373 MB / 1.208 GB, free: 7.914 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007639/1.326, allocations: 284 kB / 1.208 GB, free: 7.617 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/1.326, allocations: 15.95 kB / 1.208 GB, free: 7.602 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007553/1.327, allocations: 127.8 kB / 1.208 GB, free: 7.477 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002384/1.327, allocations: 43.94 kB / 1.208 GB, free: 7.434 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.947e-05/1.327, allocations: 12 kB / 1.208 GB, free: 7.422 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0009859/1.328, allocations: 0.6318 MB / 1.209 GB, free: 6.797 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.31e-07/1.328, allocations: 0 / 1.209 GB, free: 6.797 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002323/1.33, allocations: 0.6016 MB / 1.21 GB, free: 6.195 MB / 0.823 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 () * 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.006617/1.337, allocations: 3.573 MB / 1.213 GB, free: 2.52 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.005542/1.343, allocations: 2.959 MB / 1.216 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/1.343, allocations: 4.625 kB / 1.216 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001907/1.345, allocations: 1.225 MB / 1.217 GB, free: 14.23 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/1.346, allocations: 210 kB / 1.217 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006403/1.352, allocations: 2.901 MB / 1.22 GB, free: 11.05 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001545/1.354, allocations: 1.646 MB / 1.222 GB, free: 9.371 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001703/1.356, allocations: 0.5998 MB / 1.222 GB, free: 8.766 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006723/1.356, allocations: 479.3 kB / 1.223 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of SimCode: time 1.393e-06/1.356, allocations: 0 / 1.223 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06171/1.418, allocations: 34.21 MB / 1.256 GB, free: 6.352 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/1.418, allocations: 226.5 kB / 1.256 GB, free: 6.121 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.7/4.118, allocations: 7.453 kB / 1.256 GB, free: 6.117 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)