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.683/1.683, allocations: 289.7 MB / 302.3 MB, free: 2.129 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.001123/0.001124, allocations: 177 kB / 371.6 MB, free: 3.402 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.764/1.764, allocations: 205.2 MB / 0.6309 GB, free: 11.77 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.0009687/0.0009688, allocations: 92.92 kB / 0.745 GB, free: 54.38 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.751e-05/4.776e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2576, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8389/1.097, allocations: 180.5 MB / 1.156 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/1.097, allocations: 97.47 kB / 1.156 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.2395/1.336, allocations: 100.4 MB / 1.254 GB, free: 9.34 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.054e-06/1.336, allocations: 0 / 1.254 GB, free: 9.34 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.385e-05/1.336, allocations: 59.98 kB / 1.254 GB, free: 9.281 MB / 0.823 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.005757/1.342, allocations: 2.22 MB / 1.256 GB, free: 7.008 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/1.342, allocations: 8.031 kB / 1.257 GB, free: 7 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009274/1.343, allocations: 424.8 kB / 1.257 GB, free: 6.574 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003635/1.347, allocations: 0.5896 MB / 1.257 GB, free: 5.984 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003585/1.351, allocations: 1.475 MB / 1.259 GB, free: 4.465 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002054/1.351, allocations: 209.6 kB / 1.259 GB, free: 4.258 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001079/1.352, allocations: 272 kB / 1.259 GB, free: 3.992 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0138/1.366, allocations: 4.224 MB / 1.264 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.388e-05/1.366, allocations: 11.98 kB / 1.264 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004507/1.366, allocations: 112 kB / 1.264 GB, free: 15.56 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002087/1.366, allocations: 144.6 kB / 1.264 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008219/1.375, allocations: 3.595 MB / 1.267 GB, free: 11.8 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02861/1.403, allocations: 20.22 MB / 1.287 GB, free: 5.609 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003421/1.407, allocations: 1.874 MB / 1.289 GB, free: 3.59 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00123/1.408, allocations: 0.7553 MB / 1.29 GB, free: 2.824 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000173/1.408, allocations: 105.9 kB / 1.29 GB, free: 2.699 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/1.408, allocations: 43.33 kB / 1.29 GB, free: 2.648 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=77): time 3.076e-06/1.408, allocations: 4 kB / 1.29 GB, free: 2.645 MB / 0.8542 GB Notification: Performance of matching and sorting (n=92): time 0.01911/1.427, allocations: 4.81 MB / 1.294 GB, free: 13.82 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/1.428, allocations: 141.2 kB / 1.295 GB, free: 13.65 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/1.429, allocations: 0.874 MB / 1.295 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001431/1.429, allocations: 41.7 kB / 1.295 GB, free: 12.72 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000778/1.43, allocations: 1.184 MB / 1.297 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003422/1.43, allocations: 339.5 kB / 1.297 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/1.43, allocations: 39.94 kB / 1.297 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002138/1.431, allocations: 398.7 kB / 1.297 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/1.432, allocations: 0.8355 MB / 1.298 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001649/1.434, allocations: 1.471 MB / 1.3 GB, free: 8.156 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/1.435, allocations: 1.168 MB / 1.301 GB, free: 6.988 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-05/1.435, allocations: 8 kB / 1.301 GB, free: 6.98 MB / 0.8698 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003752/1.439, allocations: 2.438 MB / 1.303 GB, free: 4.531 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.003939/1.443, allocations: 8.356 MB / 1.311 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.672e-05/1.443, allocations: 20 kB / 1.311 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.808e-05/1.443, allocations: 36 kB / 1.311 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00279/1.446, allocations: 0.5226 MB / 1.312 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.305e-05/1.446, allocations: 43.8 kB / 1.312 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/1.447, allocations: 159.5 kB / 1.312 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/1.448, allocations: 91.97 kB / 1.312 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/1.448, allocations: 7.938 kB / 1.312 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00383/1.452, allocations: 2.339 MB / 1.314 GB, free: 8.309 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-05/1.452, allocations: 20 kB / 1.314 GB, free: 8.289 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.115e-05/1.452, allocations: 39.95 kB / 1.314 GB, free: 8.25 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002396/1.454, allocations: 0.5113 MB / 1.315 GB, free: 7.738 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.748e-05/1.454, allocations: 55.78 kB / 1.315 GB, free: 7.684 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/1.455, allocations: 127.8 kB / 1.315 GB, free: 7.559 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/1.455, allocations: 83.98 kB / 1.315 GB, free: 7.477 MB / 0.8855 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.0004278/1.456, allocations: 208.3 kB / 1.315 GB, free: 7.266 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000263/1.456, allocations: 102.9 kB / 1.316 GB, free: 7.164 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003/1.459, allocations: 1.816 MB / 1.317 GB, free: 5.297 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/1.459, allocations: 15.95 kB / 1.317 GB, free: 5.281 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.459, allocations: 0 / 1.317 GB, free: 5.281 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/1.459, allocations: 3.984 kB / 1.317 GB, free: 5.277 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01218/1.471, allocations: 9.014 MB / 1.326 GB, free: 11.26 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/1.471, allocations: 16.06 kB / 1.326 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/1.473, allocations: 251.6 kB / 1.326 GB, free: 11 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-05/1.473, allocations: 16 kB / 1.326 GB, free: 10.98 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.286e-05/1.473, allocations: 35.89 kB / 1.326 GB, free: 10.95 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.57e-05/1.473, allocations: 23.92 kB / 1.326 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.157e-05/1.473, allocations: 15.94 kB / 1.326 GB, free: 10.91 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002486/1.475, allocations: 2.287 MB / 1.329 GB, free: 8.188 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006088/1.476, allocations: 323.8 kB / 1.329 GB, free: 7.852 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/1.476, allocations: 35.98 kB / 1.329 GB, free: 7.816 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007309/1.477, allocations: 75.86 kB / 1.329 GB, free: 7.742 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/1.477, allocations: 87.7 kB / 1.329 GB, free: 7.656 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.984e-05/1.477, allocations: 36 kB / 1.329 GB, free: 7.621 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001034/1.478, allocations: 0.7138 MB / 1.33 GB, free: 6.91 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.61e-07/1.478, allocations: 0 / 1.33 GB, free: 6.91 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003322/1.481, allocations: 0.871 MB / 1.331 GB, free: 6.039 MB / 0.9011 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.005589/1.487, allocations: 6.054 MB / 1.337 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.007519/1.495, allocations: 2.921 MB / 1.34 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.819e-05/1.495, allocations: 0 / 1.34 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001487/1.496, allocations: 0.5651 MB / 1.34 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/1.498, allocations: 166.2 kB / 1.34 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01546/1.513, allocations: 4.417 MB / 1.345 GB, free: 7.406 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003718/1.517, allocations: 2.142 MB / 1.347 GB, free: 5.227 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003633/1.521, allocations: 1.05 MB / 1.348 GB, free: 4.172 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001641/1.523, allocations: 0.7609 MB / 1.348 GB, free: 3.41 MB / 0.9167 GB Notification: Performance of SimCode: time 1.834e-06/1.523, allocations: 0 / 1.348 GB, free: 3.41 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06055/1.583, allocations: 30.14 MB / 1.378 GB, free: 5.441 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/1.583, allocations: 177 kB / 1.378 GB, free: 5.219 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.637/4.221, allocations: 0 / 1.378 GB, free: 5.219 MB / 0.948 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)