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_N.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_N,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.85/1.85, allocations: 288.2 MB / 303.2 MB, free: 8.133 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.001091/0.001091, allocations: 196.3 kB / 371.8 MB, free: 10.28 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.734/1.734, allocations: 205.4 MB / 0.6305 GB, free: 9.934 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.0009839/0.0009843, allocations: 97.09 kB / 0.7439 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004864/0.0004864, allocations: 16.31 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2499, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8987/1.149, allocations: 192.6 MB / 1.168 GB, free: 6.129 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003366/1.149, allocations: 104 kB / 1.168 GB, free: 6.07 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1597/1.309, allocations: 66.67 MB / 1.233 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.014e-06/1.309, allocations: 0 / 1.233 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001059/1.309, allocations: 43.92 kB / 1.233 GB, free: 13.54 MB / 0.7605 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.004186/1.313, allocations: 1.791 MB / 1.235 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 8.034e-05/1.313, allocations: 8.031 kB / 1.235 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005824/1.314, allocations: 258.4 kB / 1.235 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003427/1.317, allocations: 0.6638 MB / 1.236 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003064/1.32, allocations: 1.254 MB / 1.237 GB, free: 9.953 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/1.32, allocations: 116.5 kB / 1.237 GB, free: 9.887 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003283/1.321, allocations: 160.6 kB / 1.237 GB, free: 9.777 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005749/1.327, allocations: 2.647 MB / 1.24 GB, free: 7.789 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.86e-05/1.327, allocations: 7.938 kB / 1.24 GB, free: 7.781 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000203/1.327, allocations: 68 kB / 1.24 GB, free: 7.715 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001255/1.327, allocations: 83.22 kB / 1.24 GB, free: 7.633 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004012/1.331, allocations: 2.218 MB / 1.242 GB, free: 5.41 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01495/1.346, allocations: 10.89 MB / 1.253 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/1.347, allocations: 0.7612 MB / 1.253 GB, free: 8.859 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/1.347, allocations: 89.47 kB / 1.253 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/1.347, allocations: 46.83 kB / 1.253 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=46): time 4.479e-06/1.347, allocations: 7.984 kB / 1.253 GB, free: 8.691 MB / 0.7761 GB Notification: Performance of matching and sorting (n=70): time 0.02456/1.372, allocations: 8.392 MB / 1.262 GB, free: 232 kB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.502e-05/1.372, allocations: 93.66 kB / 1.262 GB, free: 116 kB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/1.374, allocations: 0.8548 MB / 1.263 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001466/1.374, allocations: 37.7 kB / 1.263 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005741/1.374, allocations: 0.7697 MB / 1.263 GB, free: 14.43 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002705/1.375, allocations: 256.5 kB / 1.264 GB, free: 14.17 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.34e-05/1.375, allocations: 20 kB / 1.264 GB, free: 14.15 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001995/1.375, allocations: 394.8 kB / 1.264 GB, free: 13.76 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/1.376, allocations: 0.8028 MB / 1.265 GB, free: 12.96 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/1.378, allocations: 1.164 MB / 1.266 GB, free: 11.63 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/1.379, allocations: 0.9986 MB / 1.267 GB, free: 10.63 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/1.379, allocations: 4 kB / 1.267 GB, free: 10.63 MB / 0.7917 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.008257/1.387, allocations: 3.514 MB / 1.27 GB, free: 7.098 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.001726/1.389, allocations: 4.271 MB / 1.274 GB, free: 2.492 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/1.389, allocations: 8 kB / 1.274 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007014/1.396, allocations: 1.86 MB / 1.276 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/1.397, allocations: 231.6 kB / 1.277 GB, free: 400 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/1.407, allocations: 7.021 MB / 1.283 GB, free: 9.211 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/1.409, allocations: 195.5 kB / 1.284 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/1.409, allocations: 47.98 kB / 1.284 GB, free: 8.973 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/1.409, allocations: 4 kB / 1.284 GB, free: 8.969 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006821/1.416, allocations: 2.861 MB / 1.286 GB, free: 6.102 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-05/1.416, allocations: 12 kB / 1.286 GB, free: 6.09 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004602/1.421, allocations: 1.159 MB / 1.288 GB, free: 4.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/1.422, allocations: 291.5 kB / 1.288 GB, free: 4.645 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00889/1.431, allocations: 5.849 MB / 1.294 GB, free: 14.66 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/1.433, allocations: 159.7 kB / 1.294 GB, free: 14.51 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.704e-05/1.433, allocations: 44 kB / 1.294 GB, free: 14.46 MB / 0.823 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.001985/1.435, allocations: 0.9054 MB / 1.295 GB, free: 13.55 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002074/1.435, allocations: 86.97 kB / 1.295 GB, free: 13.46 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007787/1.443, allocations: 3.109 MB / 1.298 GB, free: 10.34 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/1.443, allocations: 8 kB / 1.298 GB, free: 10.33 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.443, allocations: 4 kB / 1.298 GB, free: 10.33 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/1.443, allocations: 11.97 kB / 1.298 GB, free: 10.32 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/1.453, allocations: 5.165 MB / 1.303 GB, free: 5.059 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/1.453, allocations: 0 / 1.303 GB, free: 5.059 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000462/1.454, allocations: 112.1 kB / 1.303 GB, free: 4.949 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006622/1.461, allocations: 1.779 MB / 1.305 GB, free: 3.164 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/1.461, allocations: 16 kB / 1.305 GB, free: 3.148 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01389/1.475, allocations: 9.988 MB / 1.314 GB, free: 8.891 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/1.475, allocations: 11.89 kB / 1.314 GB, free: 8.879 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007291/1.482, allocations: 3.106 MB / 1.317 GB, free: 5.672 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009385/1.483, allocations: 332 kB / 1.318 GB, free: 5.328 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/1.483, allocations: 12 kB / 1.318 GB, free: 5.316 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008229/1.484, allocations: 147.8 kB / 1.318 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002803/1.484, allocations: 64.41 kB / 1.318 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.993e-05/1.484, allocations: 24 kB / 1.318 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0009583/1.485, allocations: 0.6707 MB / 1.319 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.485, allocations: 0 / 1.319 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002378/1.488, allocations: 0.6992 MB / 1.319 GB, free: 3.723 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): 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.007925/1.496, allocations: 4.287 MB / 1.324 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006652/1.502, allocations: 3.61 MB / 1.327 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/1.502, allocations: 3.938 kB / 1.327 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002229/1.505, allocations: 1.34 MB / 1.328 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/1.506, allocations: 233.9 kB / 1.329 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02606/1.532, allocations: 18.31 MB / 1.346 GB, free: 7.43 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002256/1.534, allocations: 1.746 MB / 1.348 GB, free: 5.652 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001601/1.536, allocations: 0.5186 MB / 1.349 GB, free: 5.129 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007967/1.537, allocations: 0.511 MB / 1.349 GB, free: 4.617 MB / 0.8698 GB Notification: Performance of SimCode: time 1.623e-06/1.537, allocations: 0 / 1.349 GB, free: 4.617 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06602/1.603, allocations: 40.16 MB / 1.388 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/1.603, allocations: 250 kB / 1.389 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.722/4.325, allocations: 3.094 kB / 1.389 GB, free: 12.5 MB / 0.9167 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)