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.666/1.666, allocations: 288.2 MB / 303.2 MB, free: 8.086 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.00162/0.00162, allocations: 181 kB / 371.8 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.897/1.897, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.0008606/0.0008602, allocations: 90.86 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006688/0.000669, allocations: 12.12 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2846, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8876/1.172, allocations: 191.8 MB / 1.167 GB, free: 6.879 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003437/1.173, allocations: 104.1 kB / 1.167 GB, free: 6.82 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1647/1.337, allocations: 64.04 MB / 1.229 GB, free: 0.6328 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.789e-06/1.337, allocations: 3.984 kB / 1.229 GB, free: 0.6289 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001841/1.338, allocations: 39.98 kB / 1.229 GB, free: 0.5898 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.007887/1.346, allocations: 1.65 MB / 1.231 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 7.45e-05/1.346, allocations: 15.97 kB / 1.231 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001669/1.347, allocations: 252.7 kB / 1.231 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002998/1.35, allocations: 0.4887 MB / 1.232 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002977/1.353, allocations: 1.155 MB / 1.233 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.043e-05/1.353, allocations: 120.3 kB / 1.233 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002734/1.354, allocations: 153.5 kB / 1.233 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004346/1.358, allocations: 2.477 MB / 1.236 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.991e-05/1.358, allocations: 3.938 kB / 1.236 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001699/1.358, allocations: 62.62 kB / 1.236 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/1.358, allocations: 85.75 kB / 1.236 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003495/1.362, allocations: 2.045 MB / 1.238 GB, free: 9.664 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01375/1.376, allocations: 10.51 MB / 1.248 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/1.377, allocations: 0.5764 MB / 1.249 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001451/1.377, allocations: 93.09 kB / 1.249 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/1.377, allocations: 34.55 kB / 1.249 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=36): time 3.376e-06/1.377, allocations: 0 / 1.249 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of matching and sorting (n=52): time 0.01811/1.395, allocations: 5.713 MB / 1.254 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/1.395, allocations: 81.55 kB / 1.254 GB, free: 7.66 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/1.397, allocations: 0.8155 MB / 1.255 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001306/1.397, allocations: 41.64 kB / 1.255 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007634/1.398, allocations: 0.7538 MB / 1.256 GB, free: 6.027 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002742/1.398, allocations: 193.4 kB / 1.256 GB, free: 5.836 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.911e-05/1.398, allocations: 16 kB / 1.256 GB, free: 5.82 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002423/1.398, allocations: 386.7 kB / 1.256 GB, free: 5.434 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001101/1.4, allocations: 0.646 MB / 1.257 GB, free: 4.789 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/1.401, allocations: 1.003 MB / 1.258 GB, free: 3.617 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/1.402, allocations: 0.814 MB / 1.259 GB, free: 2.801 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/1.402, allocations: 4 kB / 1.259 GB, free: 2.797 MB / 0.7761 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.007568/1.41, allocations: 2.932 MB / 1.262 GB, free: 15.84 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.002114/1.412, allocations: 4.531 MB / 1.266 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.469e-05/1.412, allocations: 16 kB / 1.266 GB, free: 10.94 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006299/1.418, allocations: 1.552 MB / 1.268 GB, free: 9.375 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/1.419, allocations: 231.6 kB / 1.268 GB, free: 9.148 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009483/1.429, allocations: 7.112 MB / 1.275 GB, free: 1.707 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/1.431, allocations: 163.6 kB / 1.275 GB, free: 1.547 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002187/1.431, allocations: 48.05 kB / 1.275 GB, free: 1.5 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/1.431, allocations: 5.719 kB / 1.275 GB, free: 1.496 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006452/1.437, allocations: 2.403 MB / 1.277 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.115e-05/1.437, allocations: 12.47 kB / 1.277 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004054/1.441, allocations: 1.008 MB / 1.278 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/1.443, allocations: 251.6 kB / 1.279 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007886/1.45, allocations: 5.594 MB / 1.284 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/1.452, allocations: 135.7 kB / 1.284 GB, free: 7.816 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002239/1.452, allocations: 47.98 kB / 1.284 GB, free: 7.77 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 () * 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.001821/1.454, allocations: 0.8324 MB / 1.285 GB, free: 6.926 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002915/1.454, allocations: 83.02 kB / 1.285 GB, free: 6.844 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007138/1.461, allocations: 2.481 MB / 1.288 GB, free: 4.336 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/1.462, allocations: 4 kB / 1.288 GB, free: 4.332 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/1.462, allocations: 0 / 1.288 GB, free: 4.332 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.145e-05/1.462, allocations: 4 kB / 1.288 GB, free: 4.328 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0118/1.473, allocations: 4.31 MB / 1.292 GB, free: 15.92 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/1.473, allocations: 0 / 1.292 GB, free: 15.92 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004762/1.474, allocations: 99.86 kB / 1.292 GB, free: 15.82 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006355/1.48, allocations: 1.509 MB / 1.293 GB, free: 14.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/1.48, allocations: 15.98 kB / 1.293 GB, free: 14.29 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01278/1.493, allocations: 9.918 MB / 1.303 GB, free: 3.828 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/1.493, allocations: 3.938 kB / 1.303 GB, free: 3.824 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007099/1.5, allocations: 2.533 MB / 1.306 GB, free: 1.188 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000818/1.501, allocations: 284 kB / 1.306 GB, free: 0.8906 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002673/1.502, allocations: 12 kB / 1.306 GB, free: 0.8789 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000906/1.502, allocations: 119.8 kB / 1.306 GB, free: 0.7617 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002489/1.503, allocations: 55.64 kB / 1.306 GB, free: 0.707 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.843e-05/1.503, allocations: 16.47 kB / 1.306 GB, free: 0.6914 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001137/1.504, allocations: 0.6395 MB / 1.307 GB, free: 60 kB / 0.823 GB Notification: Performance of sort global known variables: time 3.11e-07/1.504, allocations: 4 kB / 1.307 GB, free: 56 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.002644/1.507, allocations: 0.6094 MB / 1.307 GB, free: 15.44 MB / 0.8386 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.007825/1.514, allocations: 3.714 MB / 1.311 GB, free: 11.63 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.006033/1.521, allocations: 3.076 MB / 1.314 GB, free: 8.508 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/1.521, allocations: 5.938 kB / 1.314 GB, free: 8.504 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002223/1.523, allocations: 1.283 MB / 1.315 GB, free: 7.168 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/1.524, allocations: 218.5 kB / 1.315 GB, free: 6.957 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02644/1.551, allocations: 17.16 MB / 1.332 GB, free: 5.469 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002614/1.553, allocations: 1.649 MB / 1.334 GB, free: 3.789 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001507/1.555, allocations: 482.2 kB / 1.334 GB, free: 3.312 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008214/1.556, allocations: 492.8 kB / 1.335 GB, free: 2.832 MB / 0.8542 GB Notification: Performance of SimCode: time 1.573e-06/1.556, allocations: 0 / 1.335 GB, free: 2.832 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06588/1.622, allocations: 33.51 MB / 1.367 GB, free: 1.656 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002198/1.622, allocations: 250.4 kB / 1.368 GB, free: 1.34 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.643/4.265, allocations: 0 / 1.368 GB, free: 1.34 MB / 0.8855 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)