Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.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.ThreePhasesBalanced.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter",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.762/1.762, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001545/0.001545, allocations: 184.1 kB / 377.1 MB, free: 1.547 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.854/1.854, allocations: 205.4 MB / 0.6366 GB, free: 8.602 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.001096/0.001096, allocations: 89.92 kB / 0.7509 GB, free: 63.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003853/0.0003853, allocations: 12 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3383, allocations: 116.3 MB / 0.9884 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.864/1.202, allocations: 170.7 MB / 1.155 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003311/1.203, allocations: 100.5 kB / 1.155 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04504/1.248, allocations: 18.56 MB / 1.173 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.715e-06/1.248, allocations: 0 / 1.173 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.678e-05/1.248, allocations: 4 kB / 1.173 GB, free: 9.109 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.00123/1.249, allocations: 0.5471 MB / 1.174 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/1.249, allocations: 15.97 kB / 1.174 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001248/1.249, allocations: 58.53 kB / 1.174 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008935/1.25, allocations: 106.7 kB / 1.174 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004243/1.251, allocations: 251.2 kB / 1.174 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/1.251, allocations: 16.42 kB / 1.174 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.54e-05/1.251, allocations: 27.44 kB / 1.174 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000747/1.252, allocations: 378.1 kB / 1.175 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/1.252, allocations: 7.938 kB / 1.175 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/1.252, allocations: 8 kB / 1.175 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.614e-05/1.252, allocations: 19.98 kB / 1.175 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007324/1.252, allocations: 371.7 kB / 1.175 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002269/1.255, allocations: 1.728 MB / 1.177 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006588/1.255, allocations: 350.1 kB / 1.177 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001816/1.256, allocations: 89.09 kB / 1.177 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/1.256, allocations: 43.61 kB / 1.177 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=25): time 1.983e-06/1.256, allocations: 0 / 1.177 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of matching and sorting (n=35): time 0.00713/1.263, allocations: 1.972 MB / 1.179 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.147e-05/1.263, allocations: 85.09 kB / 1.179 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/1.263, allocations: 167.8 kB / 1.179 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.413e-05/1.263, allocations: 33.7 kB / 1.179 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.89e-05/1.263, allocations: 140.4 kB / 1.18 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/1.263, allocations: 118.3 kB / 1.18 GB, free: 2.273 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/1.263, allocations: 8 kB / 1.18 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001348/1.264, allocations: 338.8 kB / 1.18 GB, free: 1.926 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004845/1.264, allocations: 255.8 kB / 1.18 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005471/1.265, allocations: 341.2 kB / 1.181 GB, free: 1.309 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000542/1.265, allocations: 298.1 kB / 1.181 GB, free: 1.02 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/1.265, allocations: 0 / 1.181 GB, free: 1.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00123/1.266, allocations: 0.6609 MB / 1.182 GB, free: 360 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004553/1.267, allocations: 0.8693 MB / 1.182 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/1.267, allocations: 4.5 kB / 1.182 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/1.267, allocations: 4 kB / 1.182 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/1.268, allocations: 179.7 kB / 1.183 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.805e-05/1.268, allocations: 4 kB / 1.183 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004406/1.268, allocations: 51.88 kB / 1.183 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.585e-05/1.269, allocations: 16 kB / 1.183 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/1.269, allocations: 7.938 kB / 1.183 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00111/1.27, allocations: 0.5895 MB / 1.183 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/1.27, allocations: 5 kB / 1.183 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-06/1.27, allocations: 4 kB / 1.183 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009961/1.271, allocations: 171.7 kB / 1.183 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/1.271, allocations: 5.125 kB / 1.183 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003665/1.271, allocations: 47.94 kB / 1.183 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-05/1.271, allocations: 19.98 kB / 1.183 GB, free: 14.32 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (44): * Single equations (assignments): 44 * 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.0002565/1.271, allocations: 241 kB / 1.184 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/1.272, allocations: 23.72 kB / 1.184 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/1.273, allocations: 0.6831 MB / 1.184 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.946e-06/1.273, allocations: 4 kB / 1.184 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/1.273, allocations: 0 / 1.184 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/1.273, allocations: 7.984 kB / 1.184 GB, free: 13.35 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002331/1.275, allocations: 1.368 MB / 1.186 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/1.275, allocations: 7.938 kB / 1.186 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000566/1.276, allocations: 125 kB / 1.186 GB, free: 11.76 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/1.276, allocations: 4 kB / 1.186 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.613e-05/1.276, allocations: 8 kB / 1.186 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.909e-06/1.276, allocations: 15.88 kB / 1.186 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.276, allocations: 4 kB / 1.186 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/1.277, allocations: 0.8266 MB / 1.187 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002071/1.277, allocations: 140.8 kB / 1.187 GB, free: 10.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.723e-05/1.277, allocations: 9.125 kB / 1.187 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000343/1.278, allocations: 51.94 kB / 1.187 GB, free: 10.6 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.279e-05/1.278, allocations: 27.97 kB / 1.187 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/1.278, allocations: 8 kB / 1.187 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000135/1.278, allocations: 143.2 kB / 1.187 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.71e-07/1.278, allocations: 0 / 1.187 GB, free: 10.42 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007148/1.279, allocations: 167.9 kB / 1.187 GB, free: 10.26 MB / 0.7605 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 (37): * Single equations (assignments): 37 * 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.001835/1.281, allocations: 1.96 MB / 1.189 GB, free: 8.223 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00159/1.282, allocations: 0.8717 MB / 1.19 GB, free: 7.352 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.282, allocations: 0.75 kB / 1.19 GB, free: 7.352 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004675/1.283, allocations: 267.8 kB / 1.19 GB, free: 7.09 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003896/1.283, allocations: 37.33 kB / 1.19 GB, free: 7.055 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00446/1.288, allocations: 3.608 MB / 1.194 GB, free: 3.332 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004559/1.288, allocations: 0.7926 MB / 1.195 GB, free: 2.516 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0005997/1.289, allocations: 176.2 kB / 1.195 GB, free: 2.348 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002388/1.289, allocations: 81.16 kB / 1.195 GB, free: 2.27 MB / 0.7605 GB Notification: Performance of SimCode: time 1.133e-06/1.289, allocations: 0 / 1.195 GB, free: 2.27 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02156/1.311, allocations: 6.675 MB / 1.201 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/1.311, allocations: 216.8 kB / 1.202 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/3.228, allocations: 0 / 1.202 GB, free: 11.54 MB / 0.7761 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1)