Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 109.8 kB / 15.99 MB, free: 6.348 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.001122/0.001122, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.287/1.287, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002018/0.002018, allocations: 280.4 kB / 291 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8974/0.8974, allocations: 169.2 MB / 0.4985 GB, free: 4.645 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 89.25 kB / 0.5953 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1506, allocations: 86.97 MB / 0.6803 GB, free: 8.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.003905/0.1545, allocations: 2.786 MB / 0.683 GB, free: 5.754 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003062/0.1576, allocations: 2.007 MB / 0.685 GB, free: 3.734 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.1577, allocations: 7.938 kB / 0.685 GB, free: 3.727 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006951/0.1585, allocations: 211.3 kB / 0.6852 GB, free: 3.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000366/0.1589, allocations: 171.4 kB / 0.6853 GB, free: 3.352 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005588/0.1594, allocations: 262.4 kB / 0.6856 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.1597, allocations: 311.1 kB / 0.6859 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003138/0.1601, allocations: 178 kB / 0.686 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.1602, allocations: 123.5 kB / 0.6862 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.1605, allocations: 167.4 kB / 0.6863 GB, free: 2.336 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.884e-05/0.1605, allocations: 20 kB / 0.6863 GB, free: 2.316 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004801/0.161, allocations: 379.3 kB / 0.6867 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.78e-05/0.1611, allocations: 99.77 kB / 0.6868 GB, free: 1.848 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.785e-05/0.1612, allocations: 107.5 kB / 0.6869 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003757/0.1616, allocations: 359.2 kB / 0.6872 GB, free: 1.391 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1616, allocations: 4 kB / 0.6872 GB, free: 1.387 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1616, allocations: 0 / 0.6872 GB, free: 1.387 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1616, allocations: 0 / 0.6872 GB, free: 1.387 MB / 494.1 MB 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.0008104/0.1624, allocations: 0.5576 MB / 0.6878 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.1625, allocations: 8.031 kB / 0.6878 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007064/0.1632, allocations: 108.5 kB / 0.6879 GB, free: 0.668 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.1634, allocations: 253.4 kB / 0.6881 GB, free: 392 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.1635, allocations: 12.81 kB / 0.6882 GB, free: 380 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.598e-05/0.1635, allocations: 24.12 kB / 0.6882 GB, free: 356 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.246/0.4095, allocations: 380.5 kB / 0.6885 GB, free: 18.31 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.4096, allocations: 0.8438 kB / 0.6885 GB, free: 18.31 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.348e-05/0.4096, allocations: 12.55 kB / 0.6886 GB, free: 18.31 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.379e-05/0.4097, allocations: 24.33 kB / 0.6886 GB, free: 18.31 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008611/0.4106, allocations: 361.6 kB / 0.6889 GB, free: 18.31 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001852/0.4124, allocations: 1.732 MB / 0.6906 GB, free: 17.11 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007107/0.4132, allocations: 345.2 kB / 0.6909 GB, free: 17.05 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003342/0.4135, allocations: 189.2 kB / 0.6911 GB, free: 16.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/0.4137, allocations: 87.78 kB / 0.6912 GB, free: 16.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.4137, allocations: 36.58 kB / 0.6912 GB, free: 16.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=25): time 2.254e-06/0.4137, allocations: 1.375 kB / 0.6912 GB, free: 16.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.007486/0.4212, allocations: 1.903 MB / 0.6931 GB, free: 16.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.4213, allocations: 84.23 kB / 0.6932 GB, free: 16.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.4214, allocations: 180.2 kB / 0.6934 GB, free: 16.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.4215, allocations: 32.36 kB / 0.6934 GB, free: 16.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/0.4215, allocations: 151.2 kB / 0.6935 GB, free: 16.01 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.083e-05/0.4216, allocations: 123.3 kB / 0.6936 GB, free: 15.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.4218, allocations: 75.58 kB / 0.6937 GB, free: 15.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.284e-05/0.4218, allocations: 331.1 kB / 0.694 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000468/0.4223, allocations: 255.8 kB / 0.6943 GB, free: 15.46 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004983/0.4228, allocations: 335.9 kB / 0.6946 GB, free: 15.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009604/0.4238, allocations: 0.6007 MB / 0.6952 GB, free: 14.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.4238, allocations: 2.812 kB / 0.6952 GB, free: 14.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001205/0.425, allocations: 0.6405 MB / 0.6958 GB, free: 14.72 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.425, allocations: 6.797 kB / 0.6958 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.4251, allocations: 2.375 kB / 0.6958 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.4251, allocations: 4.188 kB / 0.6958 GB, free: 14.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009264/0.426, allocations: 148.1 kB / 0.696 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.426, allocations: 5.719 kB / 0.696 GB, free: 14.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004406/0.4265, allocations: 60.3 kB / 0.696 GB, free: 14.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.586e-05/0.4265, allocations: 17.58 kB / 0.6961 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005312/0.4271, allocations: 360.8 kB / 0.6964 GB, free: 14.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004753/0.4276, allocations: 321.2 kB / 0.6967 GB, free: 14.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009138/0.4285, allocations: 0.5732 MB / 0.6973 GB, free: 14.05 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.056e-06/0.4285, allocations: 0.8438 kB / 0.6973 GB, free: 14.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001141/0.4296, allocations: 0.6203 MB / 0.6979 GB, free: 13.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.4297, allocations: 5.844 kB / 0.6979 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.4297, allocations: 2.828 kB / 0.6979 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.832e-06/0.4297, allocations: 9.625 kB / 0.6979 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008485/0.4305, allocations: 142.3 kB / 0.698 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.4306, allocations: 5.312 kB / 0.698 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004157/0.431, allocations: 45.38 kB / 0.6981 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/0.431, allocations: 18.12 kB / 0.6981 GB, free: 13.79 MB / 494.1 MB 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.0001216/0.4312, allocations: 206.1 kB / 0.6983 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.683e-05/0.4313, allocations: 31.5 kB / 0.6983 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.4326, allocations: 0.6503 MB / 0.6989 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.4326, allocations: 7.5 kB / 0.699 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-06/0.4326, allocations: 1.344 kB / 0.699 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.4326, allocations: 3.359 kB / 0.699 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/0.4347, allocations: 1.371 MB / 0.7003 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.4347, allocations: 2.75 kB / 0.7003 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005862/0.4353, allocations: 117.3 kB / 0.7004 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.852e-06/0.4353, allocations: 4.031 kB / 0.7004 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/0.4354, allocations: 16.78 kB / 0.7004 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.4354, allocations: 4.141 kB / 0.7004 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4354, allocations: 2.844 kB / 0.7004 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009449/0.4363, allocations: 0.7119 MB / 0.7011 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.4365, allocations: 139.5 kB / 0.7013 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.408e-05/0.4365, allocations: 16.78 kB / 0.7013 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003662/0.4369, allocations: 42.25 kB / 0.7013 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.393e-05/0.437, allocations: 29.2 kB / 0.7014 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/0.437, allocations: 10.52 kB / 0.7014 GB, free: 11.86 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.4372, allocations: 142.4 kB / 0.7015 GB, free: 11.77 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4372, allocations: 0 / 0.7015 GB, free: 11.77 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000689/0.4379, allocations: 146.9 kB / 0.7016 GB, free: 11.75 MB / 494.1 MB 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.0001943/0.4381, allocations: 140 kB / 0.7018 GB, free: 11.65 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001651/0.4397, allocations: 0.8976 MB / 0.7026 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4397, allocations: 0.625 kB / 0.7026 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000436/0.4402, allocations: 253.7 kB / 0.7029 GB, free: 11.28 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005194/0.4407, allocations: 56.08 kB / 0.7029 GB, free: 11.25 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.4419, allocations: 0.8464 MB / 0.7038 GB, free: 10.71 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.4422, allocations: 0.7822 MB / 0.7045 GB, free: 10.01 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.4423, allocations: 39.7 kB / 0.7046 GB, free: 9.996 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4424, allocations: 0 / 0.7046 GB, free: 9.996 MB / 494.1 MB Notification: Performance of Templates: time 0.009194/0.4516, allocations: 4.773 MB / 0.7092 GB, free: 9.648 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)