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_N.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_N,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.439/1.439, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001144/0.001144, allocations: 184.6 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.002/2.002, allocations: 205.4 MB / 0.5775 GB, free: 20.2 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.001014/0.001014, allocations: 98.34 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000419/0.0004189, allocations: 12.28 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2687, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.825/1.094, allocations: 186.3 MB / 1.082 GB, free: 55.98 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/1.094, allocations: 103.5 kB / 1.082 GB, free: 55.98 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1464/1.241, allocations: 66.67 MB / 1.147 GB, free: 37.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.433e-06/1.241, allocations: 0 / 1.147 GB, free: 37.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.09e-05/1.241, allocations: 42.47 kB / 1.147 GB, free: 37.09 MB / 0.698 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.003392/1.244, allocations: 1.793 MB / 1.149 GB, free: 35.96 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/1.244, allocations: 11.62 kB / 1.149 GB, free: 35.96 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000419/1.245, allocations: 260.8 kB / 1.149 GB, free: 35.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003081/1.248, allocations: 0.6639 MB / 1.15 GB, free: 35.58 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003189/1.251, allocations: 1.249 MB / 1.151 GB, free: 35.07 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.582e-05/1.251, allocations: 118.9 kB / 1.151 GB, free: 35.06 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003151/1.251, allocations: 158 kB / 1.152 GB, free: 35.06 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004408/1.256, allocations: 2.644 MB / 1.154 GB, free: 34.35 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.022e-05/1.256, allocations: 7.625 kB / 1.154 GB, free: 34.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001773/1.256, allocations: 68.41 kB / 1.154 GB, free: 34.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-05/1.256, allocations: 90.31 kB / 1.154 GB, free: 34.33 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003097/1.259, allocations: 2.219 MB / 1.156 GB, free: 33.97 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.012/1.271, allocations: 10.89 MB / 1.167 GB, free: 26.72 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/1.272, allocations: 0.7599 MB / 1.168 GB, free: 26.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/1.272, allocations: 92.77 kB / 1.168 GB, free: 26.45 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/1.273, allocations: 45.86 kB / 1.168 GB, free: 26.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=46): time 3.346e-06/1.273, allocations: 0 / 1.168 GB, free: 26.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.02247/1.295, allocations: 8.394 MB / 1.176 GB, free: 23.22 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/1.295, allocations: 87.58 kB / 1.176 GB, free: 23.13 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/1.296, allocations: 0.8569 MB / 1.177 GB, free: 22.86 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001108/1.296, allocations: 36.52 kB / 1.177 GB, free: 22.82 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003754/1.297, allocations: 0.7731 MB / 1.178 GB, free: 22.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/1.297, allocations: 251.1 kB / 1.178 GB, free: 22.12 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.76e-05/1.297, allocations: 21.94 kB / 1.178 GB, free: 22.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.297, allocations: 394.8 kB / 1.178 GB, free: 21.78 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009871/1.298, allocations: 0.8052 MB / 1.179 GB, free: 21.62 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/1.299, allocations: 1.163 MB / 1.18 GB, free: 21.03 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/1.3, allocations: 0.9999 MB / 1.181 GB, free: 20.85 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/1.3, allocations: 3.875 kB / 1.181 GB, free: 20.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.007586/1.308, allocations: 3.51 MB / 1.185 GB, free: 19.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008496/1.309, allocations: 4.271 MB / 1.189 GB, free: 15.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.951e-05/1.309, allocations: 9.625 kB / 1.189 GB, free: 15.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006607/1.316, allocations: 1.864 MB / 1.191 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009621/1.317, allocations: 227.3 kB / 1.191 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008295/1.325, allocations: 7.036 MB / 1.198 GB, free: 7.832 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/1.326, allocations: 187.6 kB / 1.198 GB, free: 7.648 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.767e-05/1.327, allocations: 47.98 kB / 1.198 GB, free: 7.602 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/1.327, allocations: 4 kB / 1.198 GB, free: 7.598 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005643/1.332, allocations: 2.857 MB / 1.201 GB, free: 4.734 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.857e-05/1.332, allocations: 12 kB / 1.201 GB, free: 4.723 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004074/1.336, allocations: 1.158 MB / 1.202 GB, free: 3.562 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/1.338, allocations: 295.5 kB / 1.202 GB, free: 3.273 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007646/1.345, allocations: 5.845 MB / 1.208 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/1.347, allocations: 155.8 kB / 1.208 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/1.347, allocations: 44 kB / 1.208 GB, free: 13.1 MB / 0.7136 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.0017/1.348, allocations: 0.9025 MB / 1.209 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/1.349, allocations: 90.97 kB / 1.209 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007869/1.357, allocations: 3.101 MB / 1.212 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/1.357, allocations: 8 kB / 1.212 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.357, allocations: 8 kB / 1.212 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-05/1.357, allocations: 7.938 kB / 1.212 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01186/1.368, allocations: 5.168 MB / 1.217 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/1.369, allocations: 256 / 1.217 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005113/1.369, allocations: 111.8 kB / 1.217 GB, free: 3.598 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006734/1.376, allocations: 1.78 MB / 1.219 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001713/1.376, allocations: 16 kB / 1.219 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01444/1.39, allocations: 9.994 MB / 1.229 GB, free: 7.539 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/1.391, allocations: 0 / 1.229 GB, free: 7.539 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007399/1.398, allocations: 3.106 MB / 1.232 GB, free: 4.332 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/1.399, allocations: 328 kB / 1.232 GB, free: 3.992 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/1.399, allocations: 19.98 kB / 1.232 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008494/1.4, allocations: 143.8 kB / 1.232 GB, free: 3.832 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002892/1.4, allocations: 68.41 kB / 1.233 GB, free: 3.766 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.983e-05/1.4, allocations: 23.95 kB / 1.233 GB, free: 3.742 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0009692/1.401, allocations: 0.6707 MB / 1.233 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.41e-07/1.401, allocations: 0 / 1.233 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002414/1.404, allocations: 0.6914 MB / 1.234 GB, free: 2.387 MB / 0.7292 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.008168/1.412, allocations: 4.31 MB / 1.238 GB, free: 14 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.006978/1.419, allocations: 3.606 MB / 1.242 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/1.419, allocations: 0 / 1.242 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00237/1.421, allocations: 1.344 MB / 1.243 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/1.423, allocations: 226.8 kB / 1.243 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02759/1.45, allocations: 18.31 MB / 1.261 GB, free: 6.105 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002557/1.453, allocations: 1.749 MB / 1.263 GB, free: 4.324 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001632/1.455, allocations: 0.5147 MB / 1.263 GB, free: 3.805 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007967/1.456, allocations: 0.5071 MB / 1.264 GB, free: 3.297 MB / 0.7605 GB Notification: Performance of SimCode: time 1.082e-06/1.456, allocations: 4 kB / 1.264 GB, free: 3.293 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06334/1.519, allocations: 40.16 MB / 1.303 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002654/1.519, allocations: 250.2 kB / 1.303 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.709/4.228, allocations: 0 / 1.303 GB, free: 11.2 MB / 0.8073 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)