Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.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.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_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.694/1.694, allocations: 292.6 MB / 307.5 MB, free: 5.238 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.001036/0.001036, allocations: 177.1 kB / 377.1 MB, free: 1.539 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.627/1.627, allocations: 205.4 MB / 0.6366 GB, free: 8.641 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.0008188/0.0008189, allocations: 95.14 kB / 0.7509 GB, free: 63.09 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003338/0.0003337, allocations: 12 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2622, allocations: 116.3 MB / 0.9884 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6903/0.9525, allocations: 168 MB / 1.152 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.9528, allocations: 97.48 kB / 1.153 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04251/0.9953, allocations: 18.22 MB / 1.17 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.024e-06/0.9954, allocations: 3.938 kB / 1.17 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.806e-05/0.9954, allocations: 4 kB / 1.17 GB, free: 12.16 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.0009431/0.9963, allocations: 0.5626 MB / 1.171 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.9964, allocations: 23.91 kB / 1.171 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.495e-05/0.9965, allocations: 58.53 kB / 1.171 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008042/0.9973, allocations: 101.7 kB / 1.171 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/0.9977, allocations: 244.8 kB / 1.171 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.9977, allocations: 16.42 kB / 1.171 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.2e-05/0.9978, allocations: 27.42 kB / 1.171 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006426/0.9984, allocations: 382.1 kB / 1.172 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.9984, allocations: 4 kB / 1.172 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.139e-05/0.9985, allocations: 5.125 kB / 1.172 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.385e-05/0.9985, allocations: 23.98 kB / 1.172 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006699/0.9992, allocations: 371.6 kB / 1.172 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00203/1.001, allocations: 1.728 MB / 1.174 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000617/1.002, allocations: 346.2 kB / 1.174 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/1.002, allocations: 97.06 kB / 1.174 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/1.002, allocations: 30.56 kB / 1.174 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=25): time 1.563e-06/1.002, allocations: 4 kB / 1.174 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of matching and sorting (n=35): time 0.006735/1.009, allocations: 1.972 MB / 1.176 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/1.009, allocations: 81.11 kB / 1.176 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/1.009, allocations: 163.6 kB / 1.176 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/1.009, allocations: 33.7 kB / 1.176 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.239e-05/1.009, allocations: 156.3 kB / 1.177 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.977e-05/1.009, allocations: 114.3 kB / 1.177 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/1.009, allocations: 4 kB / 1.177 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001208/1.009, allocations: 334.8 kB / 1.177 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004552/1.01, allocations: 255.8 kB / 1.177 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005052/1.01, allocations: 337.3 kB / 1.178 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005098/1.011, allocations: 302 kB / 1.178 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.011, allocations: 0 / 1.178 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00114/1.012, allocations: 0.6492 MB / 1.179 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003368/1.012, allocations: 0.8782 MB / 1.179 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/1.012, allocations: 8.578 kB / 1.179 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/1.013, allocations: 4 kB / 1.179 GB, free: 2.449 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/1.014, allocations: 175.7 kB / 1.18 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.69e-05/1.014, allocations: 4 kB / 1.18 GB, free: 2.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003744/1.014, allocations: 56.75 kB / 1.18 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.043e-05/1.014, allocations: 15.98 kB / 1.18 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/1.014, allocations: 4 kB / 1.18 GB, free: 2.199 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00108/1.015, allocations: 0.5895 MB / 1.18 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/1.015, allocations: 4 kB / 1.18 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.261e-06/1.015, allocations: 4 kB / 1.18 GB, free: 1.602 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009471/1.016, allocations: 171.9 kB / 1.18 GB, free: 1.434 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/1.016, allocations: 9.672 kB / 1.18 GB, free: 1.426 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003453/1.016, allocations: 51.88 kB / 1.18 GB, free: 1.375 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.314e-05/1.017, allocations: 12 kB / 1.18 GB, free: 1.363 MB / 0.7448 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.000237/1.017, allocations: 250.3 kB / 1.181 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.909e-05/1.017, allocations: 23.72 kB / 1.181 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/1.018, allocations: 0.678 MB / 1.181 GB, free: 412 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/1.018, allocations: 4 kB / 1.181 GB, free: 408 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/1.018, allocations: 0 / 1.181 GB, free: 408 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/1.018, allocations: 7.984 kB / 1.181 GB, free: 400 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002089/1.02, allocations: 1.373 MB / 1.183 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/1.02, allocations: 8.031 kB / 1.183 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005558/1.021, allocations: 119.8 kB / 1.183 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/1.021, allocations: 4 kB / 1.183 GB, free: 14.8 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/1.021, allocations: 8 kB / 1.183 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.057e-06/1.021, allocations: 7.953 kB / 1.183 GB, free: 14.78 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/1.021, allocations: 7.938 kB / 1.183 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/1.022, allocations: 0.8303 MB / 1.184 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000182/1.022, allocations: 140.8 kB / 1.184 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.937e-05/1.022, allocations: 12 kB / 1.184 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003365/1.023, allocations: 43.95 kB / 1.184 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.994e-05/1.023, allocations: 31.89 kB / 1.184 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.797e-05/1.023, allocations: 12.88 kB / 1.184 GB, free: 13.6 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001173/1.023, allocations: 143.1 kB / 1.184 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.61e-07/1.023, allocations: 0 / 1.184 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007059/1.024, allocations: 163.9 kB / 1.184 GB, free: 13.3 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.001654/1.025, allocations: 1.962 MB / 1.186 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001526/1.027, allocations: 0.8725 MB / 1.187 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.027, allocations: 0 / 1.187 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000453/1.027, allocations: 268.3 kB / 1.187 GB, free: 10.13 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/1.028, allocations: 44.77 kB / 1.187 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003946/1.032, allocations: 3.604 MB / 1.191 GB, free: 6.367 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/1.032, allocations: 0.7848 MB / 1.192 GB, free: 5.559 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0005464/1.033, allocations: 175 kB / 1.192 GB, free: 5.391 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/1.033, allocations: 91.34 kB / 1.192 GB, free: 5.301 MB / 0.7605 GB Notification: Performance of SimCode: time 2.81e-07/1.033, allocations: 0 / 1.192 GB, free: 5.301 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/1.054, allocations: 6.671 MB / 1.198 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/1.054, allocations: 192.1 kB / 1.199 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.865/2.919, allocations: 4 kB / 1.199 GB, free: 14.59 MB / 0.7761 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)