Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.696/2.696, allocations: 287.3 MB / 302.3 MB, free: 8.336 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.001524/0.001524, allocations: 175.2 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.134/2.134, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001151/0.001151, allocations: 101.8 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004887/0.0004888, allocations: 11.09 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2207, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.029/1.25, allocations: 179.6 MB / 1.154 GB, free: 4.008 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003398/1.25, allocations: 100.2 kB / 1.154 GB, free: 3.949 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.453/1.703, allocations: 100.6 MB / 1.252 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.407e-06/1.703, allocations: 0 / 1.252 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.000144/1.703, allocations: 52 kB / 1.252 GB, free: 10.93 MB / 0.7761 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.01042/1.714, allocations: 2.286 MB / 1.254 GB, free: 8.586 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/1.714, allocations: 8.031 kB / 1.254 GB, free: 8.578 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002225/1.716, allocations: 428.7 kB / 1.255 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006558/1.723, allocations: 0.5902 MB / 1.255 GB, free: 7.555 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005547/1.728, allocations: 1.47 MB / 1.257 GB, free: 6.039 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003411/1.729, allocations: 213.5 kB / 1.257 GB, free: 5.828 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001518/1.73, allocations: 272 kB / 1.257 GB, free: 5.562 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02419/1.754, allocations: 4.271 MB / 1.261 GB, free: 1.203 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001232/1.755, allocations: 0 / 1.261 GB, free: 1.203 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001172/1.756, allocations: 119.9 kB / 1.261 GB, free: 1.086 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002827/1.756, allocations: 140.6 kB / 1.262 GB, free: 0.9453 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01296/1.769, allocations: 3.657 MB / 1.265 GB, free: 13.27 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04284/1.812, allocations: 20.23 MB / 1.285 GB, free: 7.07 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006002/1.818, allocations: 1.875 MB / 1.287 GB, free: 5.047 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000286/1.818, allocations: 105.8 kB / 1.287 GB, free: 4.926 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.159e-05/1.818, allocations: 43.2 kB / 1.287 GB, free: 4.875 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=77): time 5.5e-06/1.818, allocations: 3.938 kB / 1.287 GB, free: 4.871 MB / 0.8073 GB Notification: Performance of matching and sorting (n=92): time 0.03596/1.854, allocations: 5.334 MB / 1.292 GB, free: 15.52 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/1.855, allocations: 141.7 kB / 1.292 GB, free: 15.36 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002057/1.857, allocations: 0.8856 MB / 1.293 GB, free: 14.46 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002808/1.857, allocations: 41.64 kB / 1.293 GB, free: 14.41 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001231/1.858, allocations: 1.187 MB / 1.294 GB, free: 13.21 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006168/1.859, allocations: 327.5 kB / 1.295 GB, free: 12.88 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002409/1.859, allocations: 32 kB / 1.295 GB, free: 12.85 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002966/1.859, allocations: 406.7 kB / 1.295 GB, free: 12.45 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002478/1.862, allocations: 0.8588 MB / 1.296 GB, free: 11.59 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003172/1.865, allocations: 1.503 MB / 1.297 GB, free: 9.797 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003175/1.868, allocations: 1.19 MB / 1.299 GB, free: 8.602 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.219e-05/1.868, allocations: 4 kB / 1.299 GB, free: 8.598 MB / 0.823 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.007276/1.876, allocations: 2.496 MB / 1.301 GB, free: 6.098 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.004/1.88, allocations: 8.352 MB / 1.309 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.127e-05/1.88, allocations: 20 kB / 1.309 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.866e-05/1.88, allocations: 36 kB / 1.309 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005229/1.885, allocations: 0.5265 MB / 1.31 GB, free: 12.51 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-05/1.885, allocations: 47.78 kB / 1.31 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002306/1.888, allocations: 155.6 kB / 1.31 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004105/1.888, allocations: 87.98 kB / 1.31 GB, free: 12.22 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/1.888, allocations: 5.406 kB / 1.31 GB, free: 12.22 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006729/1.895, allocations: 2.394 MB / 1.312 GB, free: 9.824 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.448e-05/1.895, allocations: 23.94 kB / 1.312 GB, free: 9.801 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.58e-05/1.895, allocations: 32 kB / 1.312 GB, free: 9.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005043/1.9, allocations: 0.5187 MB / 1.313 GB, free: 9.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.453e-05/1.9, allocations: 56.11 kB / 1.313 GB, free: 9.195 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002052/1.902, allocations: 131.7 kB / 1.313 GB, free: 9.066 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003779/1.903, allocations: 83.98 kB / 1.313 GB, free: 8.984 MB / 0.8386 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 () * Number of clocked 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.003127/1.906, allocations: 1.229 MB / 1.314 GB, free: 7.746 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004176/1.906, allocations: 90.97 kB / 1.314 GB, free: 7.656 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005163/1.911, allocations: 1.86 MB / 1.316 GB, free: 5.746 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/1.911, allocations: 8 kB / 1.316 GB, free: 5.738 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/1.911, allocations: 7.953 kB / 1.316 GB, free: 5.73 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.865e-05/1.911, allocations: 3.984 kB / 1.316 GB, free: 5.727 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01921/1.931, allocations: 9.175 MB / 1.325 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.406e-05/1.931, allocations: 12.03 kB / 1.325 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002225/1.933, allocations: 251.6 kB / 1.325 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.615e-05/1.933, allocations: 20 kB / 1.325 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001452/1.933, allocations: 28 kB / 1.325 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.719e-05/1.933, allocations: 19.92 kB / 1.326 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.719e-05/1.933, allocations: 19.89 kB / 1.326 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004344/1.938, allocations: 2.304 MB / 1.328 GB, free: 8.441 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000998/1.939, allocations: 327.8 kB / 1.328 GB, free: 8.102 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002742/1.939, allocations: 27.98 kB / 1.328 GB, free: 8.074 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/1.94, allocations: 75.91 kB / 1.328 GB, free: 8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002359/1.941, allocations: 95.61 kB / 1.328 GB, free: 7.906 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-05/1.941, allocations: 32 kB / 1.328 GB, free: 7.875 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001775/1.943, allocations: 0.7215 MB / 1.329 GB, free: 7.156 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.91e-07/1.943, allocations: 0 / 1.329 GB, free: 7.156 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005308/1.948, allocations: 0.871 MB / 1.33 GB, free: 6.285 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 () * Number of clocked 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.006216/1.954, allocations: 6.09 MB / 1.336 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.008132/1.962, allocations: 2.975 MB / 1.339 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-05/1.962, allocations: 0.875 kB / 1.339 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001599/1.964, allocations: 0.5756 MB / 1.339 GB, free: 12.31 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/1.966, allocations: 165.7 kB / 1.339 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03531/2.001, allocations: 25.07 MB / 1.364 GB, free: 2.355 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004437/2.006, allocations: 2.149 MB / 1.366 GB, free: 176 kB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005013/2.011, allocations: 1.016 MB / 1.367 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002331/2.013, allocations: 0.7647 MB / 1.368 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of SimCode: time 1.663e-06/2.013, allocations: 0 / 1.368 GB, free: 14.39 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0868/2.1, allocations: 28.9 MB / 1.396 GB, free: 1.723 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002705/2.1, allocations: 214.1 kB / 1.396 GB, free: 1.477 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.232/5.332, allocations: 6.312 kB / 1.396 GB, free: 1.473 MB / 0.9167 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1)