Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.334/2.334, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002092/0.002092, allocations: 173.9 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.386/2.386, allocations: 205.4 MB / 0.5772 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009426/0.0009423, allocations: 94.56 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006371/0.0006372, allocations: 15.14 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2084, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8788/1.087, allocations: 164.6 MB / 1.06 GB, free: 65.59 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003764/1.088, allocations: 98.66 kB / 1.06 GB, free: 65.59 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1028/1.191, allocations: 20.23 MB / 1.08 GB, free: 63.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.565e-06/1.191, allocations: 1.031 kB / 1.08 GB, free: 63.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.902e-05/1.191, allocations: 5.406 kB / 1.08 GB, free: 63.7 MB / 0.698 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.001482/1.192, allocations: 0.5965 MB / 1.081 GB, free: 63.21 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/1.192, allocations: 7.844 kB / 1.081 GB, free: 63.21 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001602/1.194, allocations: 128.5 kB / 1.081 GB, free: 63.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005912/1.194, allocations: 274.7 kB / 1.081 GB, free: 62.97 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/1.195, allocations: 16.22 kB / 1.081 GB, free: 62.97 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.109e-05/1.195, allocations: 23.05 kB / 1.081 GB, free: 62.97 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/1.196, allocations: 411.8 kB / 1.082 GB, free: 62.86 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/1.196, allocations: 192 / 1.082 GB, free: 62.86 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.162e-05/1.196, allocations: 19.03 kB / 1.082 GB, free: 62.86 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.905e-05/1.196, allocations: 25.44 kB / 1.082 GB, free: 62.86 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/1.197, allocations: 362.1 kB / 1.082 GB, free: 62.84 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003344/1.2, allocations: 2.048 MB / 1.084 GB, free: 61.37 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/1.201, allocations: 365.1 kB / 1.084 GB, free: 61.31 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005993/1.202, allocations: 192.3 kB / 1.084 GB, free: 61.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/1.202, allocations: 91.22 kB / 1.085 GB, free: 61.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/1.202, allocations: 34.44 kB / 1.085 GB, free: 61.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=22): time 3.356e-06/1.202, allocations: 0 / 1.085 GB, free: 61.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=34): time 0.008935/1.211, allocations: 1.749 MB / 1.086 GB, free: 60.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/1.211, allocations: 81.02 kB / 1.086 GB, free: 60.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003295/1.212, allocations: 240.7 kB / 1.087 GB, free: 60.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.401e-05/1.212, allocations: 33.33 kB / 1.087 GB, free: 60.62 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/1.212, allocations: 185.9 kB / 1.087 GB, free: 60.48 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/1.212, allocations: 121.8 kB / 1.087 GB, free: 60.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/1.212, allocations: 10.81 kB / 1.087 GB, free: 60.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.287e-05/1.212, allocations: 338.1 kB / 1.087 GB, free: 60.09 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006268/1.213, allocations: 205.4 kB / 1.087 GB, free: 60.08 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006988/1.214, allocations: 311.5 kB / 1.088 GB, free: 59.95 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007153/1.214, allocations: 242.5 kB / 1.088 GB, free: 59.94 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/1.214, allocations: 3.906 kB / 1.088 GB, free: 59.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0021/1.216, allocations: 0.6693 MB / 1.089 GB, free: 59.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/1.217, allocations: 184.7 kB / 1.089 GB, free: 59.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/1.217, allocations: 7.906 kB / 1.089 GB, free: 59.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007413/1.217, allocations: 146.1 kB / 1.089 GB, free: 59.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007574/1.218, allocations: 103.5 kB / 1.089 GB, free: 59.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003182/1.221, allocations: 3.943 MB / 1.093 GB, free: 56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007049/1.222, allocations: 33.14 kB / 1.093 GB, free: 56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.123e-05/1.222, allocations: 20.89 kB / 1.093 GB, free: 56 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/1.222, allocations: 5.219 kB / 1.093 GB, free: 56 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001982/1.224, allocations: 0.6235 MB / 1.094 GB, free: 55.92 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/1.224, allocations: 7.875 kB / 1.094 GB, free: 55.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005837/1.225, allocations: 145.9 kB / 1.094 GB, free: 55.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007455/1.226, allocations: 94.73 kB / 1.094 GB, free: 55.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006645/1.226, allocations: 1.115 MB / 1.095 GB, free: 54.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006201/1.227, allocations: 35.09 kB / 1.095 GB, free: 54.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.881e-05/1.227, allocations: 20.14 kB / 1.095 GB, free: 54.82 MB / 0.698 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 () * Number of clocked 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.0004145/1.227, allocations: 250.4 kB / 1.095 GB, free: 54.62 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/1.227, allocations: 27.34 kB / 1.095 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002052/1.23, allocations: 0.6209 MB / 1.096 GB, free: 54.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/1.23, allocations: 7.812 kB / 1.096 GB, free: 54.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/1.23, allocations: 0 / 1.096 GB, free: 54.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/1.23, allocations: 7.516 kB / 1.096 GB, free: 54.51 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003549/1.233, allocations: 1.342 MB / 1.097 GB, free: 53.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/1.233, allocations: 4 kB / 1.097 GB, free: 53.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004834/1.234, allocations: 69.69 kB / 1.097 GB, free: 53.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006854/1.234, allocations: 152.5 kB / 1.097 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.531e-05/1.234, allocations: 7.719 kB / 1.097 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003084/1.238, allocations: 3.965 MB / 1.101 GB, free: 50.36 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/1.238, allocations: 3.938 kB / 1.101 GB, free: 50.36 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/1.24, allocations: 0.7878 MB / 1.102 GB, free: 50.01 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000281/1.24, allocations: 136.9 kB / 1.102 GB, free: 49.91 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.614e-05/1.24, allocations: 16.42 kB / 1.102 GB, free: 49.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005287/1.241, allocations: 48.77 kB / 1.102 GB, free: 49.89 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/1.241, allocations: 24.86 kB / 1.102 GB, free: 49.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.689e-05/1.241, allocations: 16.03 kB / 1.102 GB, free: 49.89 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002446/1.241, allocations: 162.6 kB / 1.102 GB, free: 49.81 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/1.241, allocations: 7.938 kB / 1.102 GB, free: 49.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00112/1.242, allocations: 181.2 kB / 1.103 GB, free: 49.79 MB / 0.698 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 () * Number of clocked 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.0003044/1.242, allocations: 150.4 kB / 1.103 GB, free: 49.68 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003007/1.246, allocations: 1.199 MB / 1.104 GB, free: 49.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/1.246, allocations: 0 / 1.104 GB, free: 49.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/1.247, allocations: 493.8 kB / 1.104 GB, free: 48.96 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008764/1.248, allocations: 53.89 kB / 1.104 GB, free: 48.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/1.249, allocations: 0.8627 MB / 1.105 GB, free: 48.51 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/1.25, allocations: 0.8098 MB / 1.106 GB, free: 47.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006094/1.25, allocations: 108.6 kB / 1.106 GB, free: 47.79 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/1.251, allocations: 29.75 kB / 1.106 GB, free: 47.78 MB / 0.698 GB Notification: Performance of SimCode: time 1.403e-06/1.251, allocations: 0 / 1.106 GB, free: 47.78 MB / 0.698 GB Notification: Performance of Templates: time 0.01474/1.265, allocations: 5.51 MB / 1.112 GB, free: 47.43 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)