Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.605/1.605, allocations: 297.8 MB / 313.7 MB, free: 172 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000949/0.0009488, allocations: 180.5 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 223.2 MB / 0.6626 GB, free: 4.359 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008904/0.00089, allocations: 102.9 kB / 0.7808 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003484, allocations: 19.98 kB / 0.9088 GB, free: 2.895 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.569/0.5693, allocations: 120.3 MB / 1.026 GB, free: 55.95 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2048/0.7742, allocations: 174.4 MB / 1.197 GB, free: 3.348 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/0.7745, allocations: 96.47 kB / 1.197 GB, free: 3.254 MB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:42:5-42: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.05336/0.8279, allocations: 22.69 MB / 1.219 GB, free: 12.73 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8279, allocations: 0 / 1.219 GB, free: 12.73 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.934e-05/0.828, allocations: 4 kB / 1.219 GB, free: 12.72 MB / 0.7917 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.001081/0.8291, allocations: 0.5855 MB / 1.219 GB, free: 12.08 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.8291, allocations: 8.875 kB / 1.219 GB, free: 12.07 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00099/0.8301, allocations: 124.4 kB / 1.22 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003779/0.8305, allocations: 277 kB / 1.22 GB, free: 11.64 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.8305, allocations: 20.81 kB / 1.22 GB, free: 11.62 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.082e-05/0.8306, allocations: 20.36 kB / 1.22 GB, free: 11.61 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007191/0.8313, allocations: 412.1 kB / 1.22 GB, free: 11.18 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.8313, allocations: 192 / 1.22 GB, free: 11.18 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.475e-05/0.8314, allocations: 15.94 kB / 1.22 GB, free: 11.16 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.003e-05/0.8314, allocations: 30.67 kB / 1.22 GB, free: 11.13 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006378/0.8321, allocations: 359 kB / 1.221 GB, free: 10.79 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002447/0.8345, allocations: 2.054 MB / 1.223 GB, free: 8.543 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007757/0.8353, allocations: 359.8 kB / 1.223 GB, free: 8.176 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003786/0.8357, allocations: 193.5 kB / 1.223 GB, free: 7.98 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.8358, allocations: 97.08 kB / 1.223 GB, free: 7.867 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.8359, allocations: 34.56 kB / 1.223 GB, free: 7.824 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=22): time 1.482e-06/0.8359, allocations: 0 / 1.223 GB, free: 7.824 MB / 0.7917 GB Notification: Performance of matching and sorting (n=34): time 0.004837/0.8407, allocations: 1.751 MB / 1.225 GB, free: 6.039 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.8408, allocations: 89.09 kB / 1.225 GB, free: 5.934 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.841, allocations: 232.9 kB / 1.225 GB, free: 5.695 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.8411, allocations: 37.7 kB / 1.225 GB, free: 5.652 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.8412, allocations: 180 kB / 1.226 GB, free: 5.473 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 8.213e-05/0.8413, allocations: 115.5 kB / 1.226 GB, free: 5.359 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.908e-05/0.8413, allocations: 8 kB / 1.226 GB, free: 5.352 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.8414, allocations: 338.8 kB / 1.226 GB, free: 5.012 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003732/0.8418, allocations: 204.7 kB / 1.226 GB, free: 4.812 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004279/0.8422, allocations: 313 kB / 1.227 GB, free: 4.465 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008089/0.843, allocations: 0.5305 MB / 1.227 GB, free: 3.895 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.8431, allocations: 0 / 1.227 GB, free: 3.895 MB / 0.7917 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001243/0.8443, allocations: 0.6757 MB / 1.228 GB, free: 3.203 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001138/0.8444, allocations: 180.2 kB / 1.228 GB, free: 2.98 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.8444, allocations: 4 kB / 1.228 GB, free: 2.977 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004838/0.8449, allocations: 149.6 kB / 1.228 GB, free: 2.82 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003975/0.8453, allocations: 99.81 kB / 1.228 GB, free: 2.723 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002636/0.848, allocations: 3.952 MB / 1.232 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003204/0.8483, allocations: 41.28 kB / 1.232 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.8484, allocations: 16 kB / 1.232 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 6.543e-06/0.8484, allocations: 4 kB / 1.232 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001148/0.8495, allocations: 0.6133 MB / 1.233 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.8496, allocations: 7.938 kB / 1.233 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003658/0.8499, allocations: 150.8 kB / 1.233 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/0.8503, allocations: 99.86 kB / 1.233 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006206/0.8509, allocations: 1.105 MB / 1.234 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003038/0.8513, allocations: 35.88 kB / 1.234 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.8513, allocations: 19.98 kB / 1.234 GB, free: 12.3 MB / 0.8073 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.0002431/0.8516, allocations: 257.2 kB / 1.234 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.551e-05/0.8516, allocations: 27.66 kB / 1.234 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.8528, allocations: 0.6284 MB / 1.235 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.8529, allocations: 8 kB / 1.235 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.8529, allocations: 0 / 1.235 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.8529, allocations: 7.969 kB / 1.235 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002182/0.8551, allocations: 1.331 MB / 1.236 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.8551, allocations: 5.031 kB / 1.236 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/0.8553, allocations: 68.14 kB / 1.236 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004233/0.8558, allocations: 158.7 kB / 1.236 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.8558, allocations: 8 kB / 1.236 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002705/0.8585, allocations: 3.973 MB / 1.24 GB, free: 5.379 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.8586, allocations: 0 / 1.24 GB, free: 5.379 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.8597, allocations: 0.785 MB / 1.241 GB, free: 4.547 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.8599, allocations: 144.7 kB / 1.241 GB, free: 4.387 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.76e-05/0.8599, allocations: 11.94 kB / 1.241 GB, free: 4.375 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/0.8602, allocations: 39.95 kB / 1.241 GB, free: 4.336 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.245e-05/0.8603, allocations: 27.97 kB / 1.241 GB, free: 4.309 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.8604, allocations: 8.844 kB / 1.241 GB, free: 4.301 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001584/0.8605, allocations: 180.5 kB / 1.241 GB, free: 4.125 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8605, allocations: 0 / 1.241 GB, free: 4.125 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007068/0.8612, allocations: 179.9 kB / 1.242 GB, free: 3.949 MB / 0.8073 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.0002344/0.8615, allocations: 151.1 kB / 1.242 GB, free: 3.793 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001834/0.8633, allocations: 1.189 MB / 1.243 GB, free: 2.535 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.8633, allocations: 0 / 1.243 GB, free: 2.535 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0006946/0.864, allocations: 0.4892 MB / 1.243 GB, free: 2.023 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005489/0.8646, allocations: 63.88 kB / 1.243 GB, free: 1.969 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.8658, allocations: 0.8645 MB / 1.244 GB, free: 1.055 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.8662, allocations: 0.8045 MB / 1.245 GB, free: 228 kB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003457/0.8665, allocations: 114.5 kB / 1.245 GB, free: 112 kB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.043e-05/0.8666, allocations: 23.44 kB / 1.245 GB, free: 88 kB / 0.8073 GB Notification: Performance of SimCode: time 2.4e-07/0.8666, allocations: 0 / 1.245 GB, free: 88 kB / 0.8073 GB Notification: Performance of Templates: time 0.009631/0.8763, allocations: 5.531 MB / 1.251 GB, free: 10.66 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)