Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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: translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.886/1.886, allocations: 292.3 MB / 308.1 MB, free: 4.336 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.00213/0.00213, allocations: 190.3 kB / 376.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.006/2.006, allocations: 205.1 MB / 0.6354 GB, free: 9.781 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.001323/0.001322, allocations: 102.4 kB / 0.748 GB, free: 61.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 59.91 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3397, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.006354/0.3461, allocations: 2.798 MB / 0.985 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004081/0.3503, allocations: 2.078 MB / 0.987 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002883/0.3506, allocations: 0 / 0.987 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.3517, allocations: 215.3 kB / 0.9872 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0007694/0.3525, allocations: 187.4 kB / 0.9874 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009592/0.3535, allocations: 231.5 kB / 0.9876 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0007105/0.3542, allocations: 462.8 kB / 0.988 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006288/0.3549, allocations: 154.2 kB / 0.9882 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003415/0.3552, allocations: 111.5 kB / 0.9883 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004761/0.3557, allocations: 155.5 kB / 0.9884 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.548e-05/0.3558, allocations: 16 kB / 0.9884 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.3568, allocations: 447.2 kB / 0.9889 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.357, allocations: 91.77 kB / 0.989 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.3572, allocations: 103.5 kB / 0.9891 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.3583, allocations: 482.5 kB / 0.9895 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.3584, allocations: 4 kB / 0.9895 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.043e-06/0.3584, allocations: 0 / 0.9895 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.174e-05/0.3584, allocations: 0 / 0.9895 GB, free: 2.891 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001755/0.3602, allocations: 0.5497 MB / 0.9901 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.272e-05/0.3602, allocations: 8.031 kB / 0.9901 GB, free: 2.285 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009489/0.3612, allocations: 108.5 kB / 0.9902 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005361/0.3618, allocations: 263.2 kB / 0.9904 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.3618, allocations: 20.75 kB / 0.9904 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.971e-05/0.3619, allocations: 24.12 kB / 0.9905 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007961/0.3627, allocations: 381.9 kB / 0.9908 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.3627, allocations: 0 / 0.9908 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.53e-05/0.3628, allocations: 8 kB / 0.9908 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.984e-05/0.3628, allocations: 31.98 kB / 0.9909 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007469/0.3636, allocations: 355.6 kB / 0.9912 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00253/0.3661, allocations: 1.733 MB / 0.9929 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007605/0.3669, allocations: 344.8 kB / 0.9932 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003338/0.3673, allocations: 185.6 kB / 0.9934 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002207/0.3675, allocations: 89.09 kB / 0.9935 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/0.3676, allocations: 30.56 kB / 0.9935 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=25): time 2.394e-06/0.3676, allocations: 0 / 0.9935 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of matching and sorting (n=35): time 0.008096/0.3757, allocations: 1.909 MB / 0.9954 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.3758, allocations: 85.11 kB / 0.9955 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002617/0.3761, allocations: 182.6 kB / 0.9956 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.426e-05/0.3762, allocations: 33.64 kB / 0.9957 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.3763, allocations: 144.4 kB / 0.9958 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.3765, allocations: 122.3 kB / 0.9959 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002115/0.3767, allocations: 77.59 kB / 0.996 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002181/0.377, allocations: 334.8 kB / 0.9963 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005536/0.3775, allocations: 252.7 kB / 0.9966 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006173/0.3782, allocations: 337.5 kB / 0.9969 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.3792, allocations: 0.5995 MB / 0.9975 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.3793, allocations: 3.938 kB / 0.9975 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001225/0.3805, allocations: 0.6416 MB / 0.9981 GB, free: 9.664 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.3805, allocations: 8 kB / 0.9981 GB, free: 9.656 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.3805, allocations: 0 / 0.9981 GB, free: 9.656 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.3806, allocations: 4 kB / 0.9981 GB, free: 9.652 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009179/0.3815, allocations: 156 kB / 0.9983 GB, free: 9.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.3815, allocations: 7.984 kB / 0.9983 GB, free: 9.492 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004001/0.3819, allocations: 47.94 kB / 0.9983 GB, free: 9.445 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.29e-05/0.382, allocations: 15.98 kB / 0.9983 GB, free: 9.43 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005976/0.3826, allocations: 356 kB / 0.9987 GB, free: 9.078 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000507/0.3831, allocations: 321.2 kB / 0.999 GB, free: 8.73 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009518/0.3841, allocations: 0.5705 MB / 0.9995 GB, free: 8.129 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.744e-06/0.3841, allocations: 4 kB / 0.9995 GB, free: 8.125 MB / 0.7292 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001134/0.3852, allocations: 0.6104 MB / 1 GB, free: 7.508 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3853, allocations: 10.94 kB / 1 GB, free: 7.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.3853, allocations: 4 kB / 1 GB, free: 7.496 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.344e-06/0.3853, allocations: 4 kB / 1 GB, free: 7.492 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007706/0.3861, allocations: 147.7 kB / 1 GB, free: 7.348 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.3861, allocations: 11.92 kB / 1 GB, free: 7.336 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004673/0.3865, allocations: 43.94 kB / 1 GB, free: 7.293 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/0.3866, allocations: 19.98 kB / 1 GB, free: 7.273 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002177/0.3868, allocations: 205.4 kB / 1.001 GB, free: 7.066 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.739e-05/0.3869, allocations: 23.72 kB / 1.001 GB, free: 7.043 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001385/0.3883, allocations: 0.6646 MB / 1.001 GB, free: 6.367 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.3883, allocations: 4 kB / 1.001 GB, free: 6.363 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.3884, allocations: 4 kB / 1.001 GB, free: 6.359 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.3884, allocations: 0 / 1.001 GB, free: 6.359 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002422/0.3908, allocations: 1.359 MB / 1.003 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.3908, allocations: 4 kB / 1.003 GB, free: 4.898 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005573/0.3914, allocations: 116.1 kB / 1.003 GB, free: 4.785 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.134e-05/0.3914, allocations: 7.984 kB / 1.003 GB, free: 4.777 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.571e-05/0.3914, allocations: 12 kB / 1.003 GB, free: 4.766 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.886e-06/0.3915, allocations: 11.88 kB / 1.003 GB, free: 4.754 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.3915, allocations: 4 kB / 1.003 GB, free: 4.75 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/0.3934, allocations: 1.575 MB / 1.004 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002103/0.3936, allocations: 144.7 kB / 1.004 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.797e-05/0.3937, allocations: 15.94 kB / 1.004 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003196/0.394, allocations: 39.94 kB / 1.004 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.3941, allocations: 31.91 kB / 1.004 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.911e-05/0.3942, allocations: 11.94 kB / 1.004 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001677/0.3943, allocations: 143.2 kB / 1.005 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3943, allocations: 0 / 1.005 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009184/0.3953, allocations: 144 kB / 1.005 GB, free: 2.555 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002984/0.3956, allocations: 135.2 kB / 1.005 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001666/0.3972, allocations: 0.8401 MB / 1.006 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3973, allocations: 1.125 kB / 1.006 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004739/0.3977, allocations: 264.3 kB / 1.006 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005623/0.3983, allocations: 49.78 kB / 1.006 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.4001, allocations: 1.052 MB / 1.007 GB, free: 152 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005323/0.4006, allocations: 0.7955 MB / 1.008 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005653/0.4012, allocations: 174.9 kB / 1.008 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.4013, allocations: 31.42 kB / 1.008 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of SimCode: time 2.876e-06/0.4014, allocations: 0 / 1.008 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of Templates: time 0.009489/0.4108, allocations: 4.707 MB / 1.013 GB, free: 10.43 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)