Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.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.ACDCConverter,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter",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.709/1.709, allocations: 289.7 MB / 302.2 MB, free: 2.215 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.001046/0.001046, allocations: 183.5 kB / 371.6 MB, free: 3.43 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.497/1.497, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.0009385/0.0009386, allocations: 93.12 kB / 0.745 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.542e-05/4.566e-05, allocations: 0 / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2701, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8007/1.071, allocations: 173.4 MB / 1.149 GB, free: 20.08 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004087/1.071, allocations: 96.45 kB / 1.149 GB, free: 20.04 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:43:5-43:39:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.root(terminal_p.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.07642/1.148, allocations: 20.6 MB / 1.169 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.334e-06/1.148, allocations: 4 kB / 1.169 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.701e-05/1.148, allocations: 11.98 kB / 1.169 GB, free: 8.586 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001096/1.149, allocations: 0.5707 MB / 1.17 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/1.149, allocations: 8.031 kB / 1.17 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.568e-05/1.149, allocations: 59.64 kB / 1.17 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/1.151, allocations: 131.4 kB / 1.17 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004582/1.151, allocations: 272.8 kB / 1.17 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/1.151, allocations: 15.42 kB / 1.17 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.337e-05/1.151, allocations: 19.31 kB / 1.17 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007446/1.152, allocations: 388.1 kB / 1.171 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/1.152, allocations: 0 / 1.171 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.691e-05/1.152, allocations: 18.73 kB / 1.171 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.765e-05/1.152, allocations: 32.42 kB / 1.171 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006092/1.153, allocations: 314 kB / 1.171 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002619/1.155, allocations: 2.05 MB / 1.173 GB, free: 4.922 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008441/1.156, allocations: 333.6 kB / 1.174 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003955/1.157, allocations: 177.8 kB / 1.174 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/1.157, allocations: 89.28 kB / 1.174 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/1.157, allocations: 42.5 kB / 1.174 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 2.995e-06/1.157, allocations: 3.984 kB / 1.174 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34): time 0.005698/1.162, allocations: 1.458 MB / 1.175 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/1.162, allocations: 81.11 kB / 1.175 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/1.163, allocations: 212.3 kB / 1.176 GB, free: 2.844 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.45e-05/1.163, allocations: 29.08 kB / 1.176 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.866e-05/1.163, allocations: 184 kB / 1.176 GB, free: 2.652 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.891e-05/1.163, allocations: 122.7 kB / 1.176 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/1.163, allocations: 11.44 kB / 1.176 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.613e-05/1.163, allocations: 342.4 kB / 1.176 GB, free: 2.211 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003101/1.163, allocations: 159.8 kB / 1.176 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003778/1.164, allocations: 272.5 kB / 1.177 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003841/1.164, allocations: 210.3 kB / 1.177 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.164, allocations: 0 / 1.177 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001257/1.165, allocations: 0.5895 MB / 1.177 GB, free: 1.281 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003445/1.166, allocations: 1.233 MB / 1.179 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/1.166, allocations: 0 / 1.179 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000683/1.167, allocations: 146.3 kB / 1.179 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005884/1.167, allocations: 95.75 kB / 1.179 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003914/1.171, allocations: 3.94 MB / 1.183 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000527/1.172, allocations: 42.89 kB / 1.183 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.151e-05/1.172, allocations: 16.22 kB / 1.183 GB, free: 11.67 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/1.172, allocations: 4 kB / 1.183 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001378/1.173, allocations: 0.5604 MB / 1.183 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/1.173, allocations: 4 kB / 1.183 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005253/1.174, allocations: 135.8 kB / 1.183 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005733/1.174, allocations: 99.06 kB / 1.183 GB, free: 11.03 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008622/1.175, allocations: 1.114 MB / 1.185 GB, free: 9.902 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000442/1.176, allocations: 39.3 kB / 1.185 GB, free: 9.867 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.551e-05/1.176, allocations: 15.81 kB / 1.185 GB, free: 9.855 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001922/1.176, allocations: 129.3 kB / 1.185 GB, free: 9.734 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/1.176, allocations: 39.41 kB / 1.185 GB, free: 9.699 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/1.177, allocations: 0.5482 MB / 1.185 GB, free: 9.293 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/1.177, allocations: 8 kB / 1.185 GB, free: 9.285 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/1.177, allocations: 3.938 kB / 1.185 GB, free: 9.281 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/1.177, allocations: 4 kB / 1.185 GB, free: 9.277 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002521/1.18, allocations: 1.264 MB / 1.187 GB, free: 8.152 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/1.18, allocations: 0 / 1.187 GB, free: 8.152 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003313/1.18, allocations: 75.45 kB / 1.187 GB, free: 8.082 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005357/1.181, allocations: 145.9 kB / 1.187 GB, free: 7.953 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.546e-05/1.181, allocations: 18.89 kB / 1.187 GB, free: 7.941 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003442/1.184, allocations: 3.956 MB / 1.191 GB, free: 3.891 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/1.184, allocations: 7.984 kB / 1.191 GB, free: 3.883 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/1.186, allocations: 0.8105 MB / 1.191 GB, free: 3.109 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002416/1.186, allocations: 147 kB / 1.192 GB, free: 2.961 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.535e-05/1.186, allocations: 7.75 kB / 1.192 GB, free: 2.957 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/1.186, allocations: 50.03 kB / 1.192 GB, free: 2.914 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.937e-05/1.187, allocations: 23.16 kB / 1.192 GB, free: 2.895 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.33e-05/1.187, allocations: 14.81 kB / 1.192 GB, free: 2.883 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000217/1.187, allocations: 167.2 kB / 1.192 GB, free: 2.746 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.7e-07/1.187, allocations: 0 / 1.192 GB, free: 2.746 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0009873/1.188, allocations: 180 kB / 1.192 GB, free: 2.59 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00202/1.19, allocations: 2.029 MB / 1.194 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001706/1.192, allocations: 1.091 MB / 1.195 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/1.192, allocations: 4.188 kB / 1.195 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005775/1.192, allocations: 447 kB / 1.195 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/1.193, allocations: 46.91 kB / 1.196 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/1.194, allocations: 0.6771 MB / 1.196 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/1.194, allocations: 0.8107 MB / 1.197 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003894/1.195, allocations: 120.2 kB / 1.197 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/1.195, allocations: 91.45 kB / 1.197 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of SimCode: time 5.82e-07/1.195, allocations: 0 / 1.197 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02416/1.219, allocations: 8.519 MB / 1.206 GB, free: 5.324 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/1.219, allocations: 208 kB / 1.206 GB, free: 5.105 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.113/3.333, allocations: 0 / 1.206 GB, free: 5.105 MB / 0.7761 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1)