Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.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.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_OnePhase_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.665/1.665, allocations: 289.7 MB / 302.2 MB, free: 2.16 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.001216/0.001215, allocations: 183.9 kB / 371.6 MB, free: 3.387 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.496/1.496, allocations: 205.2 MB / 0.6309 GB, free: 11.75 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.0009347/0.0009348, allocations: 90.28 kB / 0.745 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.362e-05/3.364e-05, allocations: 0 / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2411, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8027/1.044, allocations: 171.9 MB / 1.148 GB, free: 21.28 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/1.044, allocations: 94.83 kB / 1.148 GB, free: 21.24 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.05046/1.095, allocations: 20.34 MB / 1.168 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.094e-06/1.095, allocations: 0 / 1.168 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.96e-05/1.095, allocations: 4 kB / 1.168 GB, free: 10.33 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.0008435/1.096, allocations: 0.5764 MB / 1.168 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/1.096, allocations: 12.03 kB / 1.168 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.12e-05/1.096, allocations: 63.28 kB / 1.168 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/1.097, allocations: 123.4 kB / 1.168 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/1.097, allocations: 276.5 kB / 1.169 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/1.097, allocations: 24.3 kB / 1.169 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.092e-05/1.097, allocations: 15.94 kB / 1.169 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005329/1.098, allocations: 388.9 kB / 1.169 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/1.098, allocations: 3.938 kB / 1.169 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/1.098, allocations: 15.17 kB / 1.169 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.968e-05/1.098, allocations: 31.17 kB / 1.169 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004867/1.098, allocations: 314.5 kB / 1.169 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002127/1.101, allocations: 2.057 MB / 1.171 GB, free: 6.648 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006735/1.101, allocations: 333.5 kB / 1.172 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002943/1.102, allocations: 179.2 kB / 1.172 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.341e-05/1.102, allocations: 92.91 kB / 1.172 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/1.102, allocations: 30.75 kB / 1.172 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 1.643e-06/1.102, allocations: 0 / 1.172 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34): time 0.004112/1.106, allocations: 1.464 MB / 1.174 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/1.106, allocations: 81.11 kB / 1.174 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/1.106, allocations: 211.4 kB / 1.174 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/1.106, allocations: 29.52 kB / 1.174 GB, free: 4.543 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.411e-05/1.106, allocations: 183.9 kB / 1.174 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.672e-05/1.106, allocations: 116 kB / 1.174 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.037e-05/1.106, allocations: 7.562 kB / 1.174 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.124e-05/1.106, allocations: 348.2 kB / 1.174 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/1.107, allocations: 165.3 kB / 1.175 GB, free: 3.84 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/1.107, allocations: 269.6 kB / 1.175 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003233/1.107, allocations: 204.8 kB / 1.175 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.107, allocations: 4 kB / 1.175 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001069/1.108, allocations: 0.5945 MB / 1.176 GB, free: 3.012 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002779/1.109, allocations: 1.226 MB / 1.177 GB, free: 1.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/1.109, allocations: 4 kB / 1.177 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005785/1.109, allocations: 138.1 kB / 1.177 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004861/1.11, allocations: 107.6 kB / 1.177 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003409/1.113, allocations: 3.934 MB / 1.181 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000384/1.114, allocations: 42.34 kB / 1.181 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.054e-05/1.114, allocations: 15.19 kB / 1.181 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/1.114, allocations: 7.938 kB / 1.181 GB, free: 13.4 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001089/1.115, allocations: 0.5597 MB / 1.182 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/1.115, allocations: 0 / 1.182 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004004/1.115, allocations: 139.9 kB / 1.182 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003978/1.116, allocations: 103.4 kB / 1.182 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007538/1.116, allocations: 1.1 MB / 1.183 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003192/1.117, allocations: 51.23 kB / 1.183 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/1.117, allocations: 15.69 kB / 1.183 GB, free: 11.59 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.0001489/1.117, allocations: 117.9 kB / 1.183 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.99e-05/1.117, allocations: 31.67 kB / 1.183 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001055/1.118, allocations: 0.57 MB / 1.184 GB, free: 11.03 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/1.118, allocations: 7.938 kB / 1.184 GB, free: 11.02 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/1.118, allocations: 3.938 kB / 1.184 GB, free: 11.02 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/1.118, allocations: 3.953 kB / 1.184 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/1.12, allocations: 1.259 MB / 1.185 GB, free: 9.895 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/1.12, allocations: 4 kB / 1.185 GB, free: 9.891 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/1.12, allocations: 63.89 kB / 1.185 GB, free: 9.828 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004153/1.121, allocations: 151.4 kB / 1.185 GB, free: 9.695 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/1.121, allocations: 14.27 kB / 1.185 GB, free: 9.688 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002745/1.123, allocations: 3.96 MB / 1.189 GB, free: 5.637 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/1.124, allocations: 5.125 kB / 1.189 GB, free: 5.633 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009315/1.124, allocations: 0.8169 MB / 1.19 GB, free: 4.852 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/1.125, allocations: 138.8 kB / 1.19 GB, free: 4.711 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.023e-05/1.125, allocations: 15.69 kB / 1.19 GB, free: 4.699 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002983/1.125, allocations: 34.91 kB / 1.19 GB, free: 4.672 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.764e-05/1.125, allocations: 35.39 kB / 1.19 GB, free: 4.641 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/1.125, allocations: 11.69 kB / 1.19 GB, free: 4.633 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001569/1.125, allocations: 168.2 kB / 1.19 GB, free: 4.496 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.4e-07/1.125, allocations: 0 / 1.19 GB, free: 4.496 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007551/1.126, allocations: 173.2 kB / 1.19 GB, free: 4.344 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.001781/1.128, allocations: 2.036 MB / 1.192 GB, free: 2.355 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001637/1.129, allocations: 1.085 MB / 1.193 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/1.129, allocations: 1.312 kB / 1.193 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006088/1.13, allocations: 452.8 kB / 1.194 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/1.131, allocations: 53.95 kB / 1.194 GB, free: 0.9727 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/1.132, allocations: 0.6704 MB / 1.194 GB, free: 352 kB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004853/1.132, allocations: 0.8081 MB / 1.195 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003877/1.133, allocations: 120.3 kB / 1.195 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/1.133, allocations: 89.59 kB / 1.195 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of SimCode: time 2.9e-07/1.133, allocations: 0 / 1.195 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02716/1.16, allocations: 8.502 MB / 1.204 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002758/1.16, allocations: 200.9 kB / 1.204 GB, free: 6.852 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.106/3.266, allocations: 8 kB / 1.204 GB, free: 6.844 MB / 0.7761 GB (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.fmu > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)