Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 193.3 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.791/2.791, allocations: 472.6 MB / 0.7447 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 67.3 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3413, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.004887/0.3462, allocations: 3.397 MB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003237/0.3495, allocations: 2.185 MB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.3497, allocations: 7.938 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008332/0.3505, allocations: 278.4 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004722/0.351, allocations: 219.1 kB / 1.073 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006586/0.3517, allocations: 259.4 kB / 1.074 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004697/0.3522, allocations: 0.5297 MB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003461/0.3525, allocations: 169 kB / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.3527, allocations: 127.5 kB / 1.075 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002898/0.353, allocations: 191.2 kB / 1.075 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/0.353, allocations: 12 kB / 1.075 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007129/0.3538, allocations: 0.5029 MB / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.3539, allocations: 91.7 kB / 1.075 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.354, allocations: 131.3 kB / 1.075 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006274/0.3547, allocations: 0.5336 MB / 1.076 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3547, allocations: 0 / 1.076 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3547, allocations: 0 / 1.076 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.3547, allocations: 0 / 1.076 GB, free: 2.242 MB / 0.8262 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.001097/0.3558, allocations: 0.6003 MB / 1.077 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.3558, allocations: 8.031 kB / 1.077 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008503/0.3567, allocations: 128.4 kB / 1.077 GB, free: 1.461 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.3571, allocations: 275.7 kB / 1.077 GB, free: 1.152 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.3571, allocations: 12.81 kB / 1.077 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.609e-05/0.3571, allocations: 24.36 kB / 1.077 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006596/0.3578, allocations: 423.8 kB / 1.077 GB, free: 0.668 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3578, allocations: 4 kB / 1.077 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.3579, allocations: 4 kB / 1.077 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.257e-05/0.3579, allocations: 32.55 kB / 1.077 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005998/0.3585, allocations: 349.9 kB / 1.078 GB, free: 296 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002287/0.3608, allocations: 2.05 MB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007993/0.3616, allocations: 349 kB / 1.08 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003987/0.3621, allocations: 204.4 kB / 1.08 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.3622, allocations: 81.11 kB / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.3622, allocations: 38.56 kB / 1.08 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 2.334e-06/0.3622, allocations: 0 / 1.08 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34): time 0.005018/0.3672, allocations: 1.581 MB / 1.082 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.3673, allocations: 85.33 kB / 1.082 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.3676, allocations: 229 kB / 1.082 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.3676, allocations: 33.7 kB / 1.082 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.3677, allocations: 187.9 kB / 1.082 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.722e-05/0.3678, allocations: 114.3 kB / 1.083 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.368, allocations: 82.03 kB / 1.083 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.3681, allocations: 342.8 kB / 1.083 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004015/0.3685, allocations: 202.4 kB / 1.083 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004458/0.369, allocations: 301.1 kB / 1.083 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008455/0.3698, allocations: 0.5157 MB / 1.084 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.3698, allocations: 0 / 1.084 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001297/0.3711, allocations: 0.6451 MB / 1.085 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.3712, allocations: 13.34 kB / 1.085 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.3712, allocations: 4 kB / 1.085 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005748/0.3718, allocations: 151.5 kB / 1.085 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004235/0.3722, allocations: 91.88 kB / 1.085 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002806/0.375, allocations: 3.954 MB / 1.089 GB, free: 4.312 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003408/0.3754, allocations: 35.91 kB / 1.089 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.955e-05/0.3754, allocations: 19.98 kB / 1.089 GB, free: 4.258 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005159/0.376, allocations: 316.9 kB / 1.089 GB, free: 3.941 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004321/0.3764, allocations: 301.2 kB / 1.089 GB, free: 3.605 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00082/0.3772, allocations: 0.5034 MB / 1.09 GB, free: 3.059 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.727e-06/0.3772, allocations: 3.938 kB / 1.09 GB, free: 3.055 MB / 0.8419 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001308/0.3786, allocations: 0.6488 MB / 1.09 GB, free: 2.387 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.3786, allocations: 12.09 kB / 1.09 GB, free: 2.375 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3786, allocations: 4 kB / 1.09 GB, free: 2.371 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004386/0.379, allocations: 143.3 kB / 1.091 GB, free: 2.219 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004134/0.3795, allocations: 95.81 kB / 1.091 GB, free: 2.125 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002672/0.3821, allocations: 3.946 MB / 1.095 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003472/0.3825, allocations: 39.95 kB / 1.095 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.3825, allocations: 16 kB / 1.095 GB, free: 13.81 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001886/0.3827, allocations: 213.3 kB / 1.095 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.717e-05/0.3828, allocations: 31.66 kB / 1.095 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.3841, allocations: 0.6087 MB / 1.095 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.3841, allocations: 4 kB / 1.095 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3841, allocations: 4 kB / 1.095 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3841, allocations: 0 / 1.095 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002241/0.3864, allocations: 1.326 MB / 1.097 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.3864, allocations: 4 kB / 1.097 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.3867, allocations: 55.91 kB / 1.097 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004645/0.3871, allocations: 159.5 kB / 1.097 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/0.3872, allocations: 8 kB / 1.097 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002702/0.3899, allocations: 3.957 MB / 1.101 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/0.3899, allocations: 4.031 kB / 1.101 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.3911, allocations: 0.7871 MB / 1.102 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.3913, allocations: 132.8 kB / 1.102 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.632e-05/0.3913, allocations: 8 kB / 1.102 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003288/0.3916, allocations: 35.95 kB / 1.102 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.3918, allocations: 39.84 kB / 1.102 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.3918, allocations: 8 kB / 1.102 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00016/0.392, allocations: 172.5 kB / 1.102 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/0.392, allocations: 0 / 1.102 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008027/0.3928, allocations: 164 kB / 1.102 GB, free: 5.566 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002376/0.393, allocations: 147.1 kB / 1.102 GB, free: 5.41 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002147/0.3952, allocations: 1.235 MB / 1.103 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.3952, allocations: 0 / 1.103 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0007408/0.3959, allocations: 478.1 kB / 1.104 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006113/0.3966, allocations: 68.47 kB / 1.104 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.3979, allocations: 0.8648 MB / 1.105 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000379/0.3983, allocations: 0.8084 MB / 1.106 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.000347/0.3986, allocations: 114.8 kB / 1.106 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.186e-05/0.3987, allocations: 27.42 kB / 1.106 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of SimCode: time 3.71e-07/0.3987, allocations: 4 kB / 1.106 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of Templates: time 0.01084/0.4096, allocations: 6.013 MB / 1.112 GB, free: 11.7 MB / 0.8731 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)