Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.116/2.116, allocations: 289.9 MB / 297.4 MB, free: 6.402 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.001252/0.001252, allocations: 172.8 kB / 366.7 MB, free: 1.672 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.601/1.601, allocations: 205.2 MB / 0.626 GB, free: 7.195 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008117/0.0008117, allocations: 90.84 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.181e-05/2.181e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7377/0.7377, allocations: 116.3 MB / 0.9734 GB, free: 76.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2233/0.9611, allocations: 154 MB / 1.124 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003662/0.9616, allocations: 94.56 kB / 1.124 GB, free: 12 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.06619/1.028, allocations: 27.44 MB / 1.151 GB, free: 436 kB / 0.7448 GB Notification: Performance of FrontEnd: time 1.593e-06/1.028, allocations: 0 / 1.151 GB, free: 436 kB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.077e-05/1.028, allocations: 16 kB / 1.151 GB, free: 420 kB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001455/1.029, allocations: 0.6774 MB / 1.151 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/1.029, allocations: 19.95 kB / 1.151 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00152/1.031, allocations: 175.2 kB / 1.151 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006545/1.032, allocations: 403.2 kB / 1.152 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/1.032, allocations: 8 kB / 1.152 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-05/1.032, allocations: 20 kB / 1.152 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005895/1.032, allocations: 346 kB / 1.152 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000821/1.033, allocations: 0.641 MB / 1.153 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/1.033, allocations: 7.938 kB / 1.153 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.064e-05/1.033, allocations: 7.938 kB / 1.153 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.048e-05/1.033, allocations: 43.97 kB / 1.153 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003184/1.037, allocations: 3.711 MB / 1.157 GB, free: 9.926 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/1.039, allocations: 0.6568 MB / 1.157 GB, free: 9.242 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002349/1.039, allocations: 170.5 kB / 1.157 GB, free: 9.066 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/1.039, allocations: 4 kB / 1.157 GB, free: 9.062 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/1.039, allocations: 34.56 kB / 1.157 GB, free: 9.02 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=30): time 3.236e-06/1.039, allocations: 3.984 kB / 1.157 GB, free: 9.016 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.001487/1.04, allocations: 0.7939 MB / 1.158 GB, free: 8.203 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/1.04, allocations: 110.8 kB / 1.158 GB, free: 8.07 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003126/1.041, allocations: 297.1 kB / 1.159 GB, free: 7.773 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/1.041, allocations: 25.7 kB / 1.159 GB, free: 7.742 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/1.041, allocations: 279.4 kB / 1.159 GB, free: 7.465 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.728e-05/1.041, allocations: 118.3 kB / 1.159 GB, free: 7.348 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.856e-05/1.041, allocations: 1.219 kB / 1.159 GB, free: 7.348 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000139/1.041, allocations: 346.8 kB / 1.159 GB, free: 7 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/1.041, allocations: 157.1 kB / 1.159 GB, free: 6.848 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/1.042, allocations: 340.2 kB / 1.16 GB, free: 6.43 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/1.042, allocations: 217.8 kB / 1.16 GB, free: 6.219 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/1.042, allocations: 0 / 1.16 GB, free: 6.219 MB / 0.7605 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008931/1.043, allocations: 0.5858 MB / 1.161 GB, free: 5.621 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.043, allocations: 8 kB / 1.161 GB, free: 5.613 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/1.043, allocations: 8 kB / 1.161 GB, free: 5.605 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000324/1.043, allocations: 91.02 kB / 1.161 GB, free: 5.508 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004365/1.044, allocations: 113.6 kB / 1.161 GB, free: 5.398 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002914/1.047, allocations: 3.874 MB / 1.165 GB, free: 1.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003366/1.047, allocations: 15.98 kB / 1.165 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.054e-05/1.047, allocations: 26.67 kB / 1.165 GB, free: 1.141 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001186/1.047, allocations: 128.7 kB / 1.165 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007085/1.048, allocations: 443.3 kB / 1.165 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.702e-05/1.048, allocations: 47.42 kB / 1.165 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000793/1.049, allocations: 493.2 kB / 1.166 GB, free: 16 kB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/1.049, allocations: 4 kB / 1.166 GB, free: 12 kB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.049, allocations: 4 kB / 1.166 GB, free: 8 kB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/1.049, allocations: 0 / 1.166 GB, free: 8 kB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/1.051, allocations: 1.182 MB / 1.167 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/1.051, allocations: 7.625 kB / 1.167 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/1.051, allocations: 59.89 kB / 1.167 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002724/1.051, allocations: 90.8 kB / 1.167 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/1.051, allocations: 7.953 kB / 1.167 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002853/1.054, allocations: 3.86 MB / 1.171 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.934e-06/1.054, allocations: 4 kB / 1.171 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/1.055, allocations: 0.8784 MB / 1.172 GB, free: 9.371 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000194/1.055, allocations: 148.5 kB / 1.172 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.898e-05/1.055, allocations: 4 kB / 1.172 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003085/1.056, allocations: 19.97 kB / 1.172 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.256e-05/1.056, allocations: 39.86 kB / 1.172 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/1.056, allocations: 8 kB / 1.172 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002536/1.056, allocations: 239 kB / 1.172 GB, free: 8.906 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.91e-07/1.056, allocations: 0 / 1.172 GB, free: 8.906 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0006921/1.057, allocations: 108 kB / 1.172 GB, free: 8.801 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001461/1.058, allocations: 2.174 MB / 1.174 GB, free: 6.52 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001118/1.059, allocations: 0.7445 MB / 1.175 GB, free: 5.75 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.059, allocations: 8.25 kB / 1.175 GB, free: 5.742 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007016/1.06, allocations: 0.5089 MB / 1.175 GB, free: 5.203 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006758/1.061, allocations: 104.2 kB / 1.176 GB, free: 5.109 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/1.062, allocations: 0.7359 MB / 1.176 GB, free: 4.305 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004757/1.063, allocations: 0.8781 MB / 1.177 GB, free: 3.402 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002767/1.063, allocations: 96.3 kB / 1.177 GB, free: 3.305 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/1.063, allocations: 143.4 kB / 1.177 GB, free: 3.164 MB / 0.7761 GB Notification: Performance of SimCode: time 2.31e-07/1.063, allocations: 0 / 1.177 GB, free: 3.164 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02996/1.093, allocations: 8.415 MB / 1.186 GB, free: 10.92 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/1.094, allocations: 146.7 kB / 1.186 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.198/3.292, allocations: 3.281 kB / 1.186 GB, free: 10.73 MB / 0.7917 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1)