Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.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.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter",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 1.88/1.88, allocations: 289.9 MB / 297.4 MB, free: 6.398 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.001271/0.001271, allocations: 176.9 kB / 366.7 MB, free: 1.684 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.713/1.713, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.0009656/0.0009657, allocations: 75.67 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.487e-05/2.486e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6802/0.6803, allocations: 116.3 MB / 0.9734 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2295/0.9098, allocations: 179.8 MB / 1.149 GB, free: 2.168 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/0.9101, allocations: 96.47 kB / 1.149 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.2305/1.141, allocations: 100 MB / 1.247 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.593e-06/1.141, allocations: 0 / 1.247 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.984e-05/1.141, allocations: 59.98 kB / 1.247 GB, free: 13.2 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.005421/1.146, allocations: 2.212 MB / 1.249 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/1.146, allocations: 8.031 kB / 1.249 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004047/1.15, allocations: 0.598 MB / 1.25 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003203/1.154, allocations: 1.475 MB / 1.251 GB, free: 8.797 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.905e-05/1.154, allocations: 88 kB / 1.251 GB, free: 8.711 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004858/1.154, allocations: 160 kB / 1.251 GB, free: 8.555 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006046/1.16, allocations: 3.236 MB / 1.254 GB, free: 5.312 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006857/1.167, allocations: 3.823 MB / 1.258 GB, free: 1.406 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.136e-05/1.167, allocations: 3.938 kB / 1.258 GB, free: 1.402 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002526/1.168, allocations: 4 kB / 1.258 GB, free: 1.398 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001633/1.168, allocations: 152.6 kB / 1.258 GB, free: 1.246 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5847/1.752, allocations: 19.49 MB / 1.277 GB, free: 188.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003034/1.755, allocations: 1.86 MB / 1.279 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/1.757, allocations: 0.737 MB / 1.28 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001562/1.757, allocations: 107.9 kB / 1.28 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/1.757, allocations: 45.02 kB / 1.28 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=77): time 3.427e-06/1.757, allocations: 1 kB / 1.28 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=92): time 0.007997/1.765, allocations: 3.823 MB / 1.284 GB, free: 186.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/1.765, allocations: 141.2 kB / 1.284 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/1.766, allocations: 0.8325 MB / 1.285 GB, free: 185.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.479e-05/1.766, allocations: 25.7 kB / 1.285 GB, free: 185.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006847/1.767, allocations: 1.186 MB / 1.286 GB, free: 185.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002699/1.767, allocations: 317.9 kB / 1.286 GB, free: 185.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.582e-05/1.767, allocations: 0 / 1.286 GB, free: 185.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001567/1.767, allocations: 401.2 kB / 1.287 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001104/1.769, allocations: 0.8125 MB / 1.287 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/1.77, allocations: 1.437 MB / 1.289 GB, free: 184 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00313/1.773, allocations: 1.408 MB / 1.29 GB, free: 184 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.871e-05/1.773, allocations: 6.25 kB / 1.29 GB, free: 184 MB / 0.8542 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.005145/1.778, allocations: 2.559 MB / 1.293 GB, free: 183.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.002036/1.78, allocations: 8.353 MB / 1.301 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.884e-05/1.78, allocations: 23.78 kB / 1.301 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.02e-05/1.781, allocations: 34.17 kB / 1.301 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002793/1.783, allocations: 0.5204 MB / 1.301 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-05/1.783, allocations: 49.91 kB / 1.301 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/1.785, allocations: 121.1 kB / 1.302 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001843/1.785, allocations: 88.56 kB / 1.302 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/1.785, allocations: 4 kB / 1.302 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005186/1.79, allocations: 2.4 MB / 1.304 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.116e-05/1.79, allocations: 25.8 kB / 1.304 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.201e-05/1.79, allocations: 33.78 kB / 1.304 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002491/1.793, allocations: 0.517 MB / 1.304 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-05/1.793, allocations: 46.19 kB / 1.305 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/1.794, allocations: 104.8 kB / 1.305 GB, free: 175.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001671/1.794, allocations: 88.58 kB / 1.305 GB, free: 175.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (211): * Single equations (assignments): 211 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004571/1.795, allocations: 158.4 kB / 1.305 GB, free: 175 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003438/1.798, allocations: 1.502 MB / 1.306 GB, free: 174.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002757/1.798, allocations: 99.03 kB / 1.306 GB, free: 174.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003837/1.802, allocations: 1.811 MB / 1.308 GB, free: 174.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/1.802, allocations: 9.062 kB / 1.308 GB, free: 174.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/1.802, allocations: 1.562 kB / 1.308 GB, free: 174.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/1.802, allocations: 3.359 kB / 1.308 GB, free: 174.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01209/1.814, allocations: 8.409 MB / 1.316 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-05/1.815, allocations: 12.97 kB / 1.316 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/1.816, allocations: 249 kB / 1.317 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.347e-05/1.816, allocations: 18.94 kB / 1.317 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.043e-05/1.816, allocations: 16.3 kB / 1.317 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-05/1.816, allocations: 21.45 kB / 1.317 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.369e-05/1.816, allocations: 16.22 kB / 1.317 GB, free: 169.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002396/1.818, allocations: 2.3 MB / 1.319 GB, free: 167.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000537/1.819, allocations: 324.8 kB / 1.319 GB, free: 167.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/1.819, allocations: 22.58 kB / 1.319 GB, free: 167.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007925/1.82, allocations: 57.08 kB / 1.319 GB, free: 167.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/1.82, allocations: 90.61 kB / 1.319 GB, free: 167.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.394e-05/1.82, allocations: 39.28 kB / 1.32 GB, free: 167.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0008816/1.821, allocations: 0.6659 MB / 1.32 GB, free: 166.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.61e-07/1.821, allocations: 0 / 1.32 GB, free: 166.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003753/1.825, allocations: 0.7943 MB / 1.321 GB, free: 166.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 89 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00339/1.828, allocations: 6.067 MB / 1.327 GB, free: 161.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004687/1.833, allocations: 2.768 MB / 1.33 GB, free: 160.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/1.833, allocations: 8.828 kB / 1.33 GB, free: 160.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007405/1.833, allocations: 0.5403 MB / 1.33 GB, free: 160.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000983/1.834, allocations: 139.5 kB / 1.33 GB, free: 160.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008423/1.843, allocations: 4.314 MB / 1.334 GB, free: 158.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002267/1.845, allocations: 2.149 MB / 1.337 GB, free: 157.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002691/1.848, allocations: 1.049 MB / 1.338 GB, free: 157.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008867/1.849, allocations: 0.7557 MB / 1.338 GB, free: 156.6 MB / 0.8542 GB Notification: Performance of SimCode: time 9.92e-07/1.849, allocations: 4 kB / 1.338 GB, free: 156.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05395/1.903, allocations: 29.21 MB / 1.367 GB, free: 155.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/1.903, allocations: 162.7 kB / 1.367 GB, free: 155.1 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.605/4.508, allocations: 0 / 1.367 GB, free: 155.1 MB / 0.8542 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1)