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.001398/0.001398, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.00164/0.00164, allocations: 194.1 kB / 16.14 MB, free: 6.672 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.29/1.29, allocations: 222.9 MB / 239.8 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002033/0.002033, allocations: 294.4 kB / 290.2 MB, free: 2.082 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9147/0.9147, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 90.11 kB / 0.5945 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.138, allocations: 86.99 MB / 0.6794 GB, free: 1.18 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.003836/0.1419, allocations: 2.783 MB / 0.6822 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002763/0.1447, allocations: 2.036 MB / 0.6842 GB, free: 12.35 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.957e-05/0.1448, allocations: 4 kB / 0.6842 GB, free: 12.35 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006608/0.1455, allocations: 212.9 kB / 0.6844 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003512/0.1458, allocations: 193.4 kB / 0.6845 GB, free: 11.95 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004766/0.1463, allocations: 239.5 kB / 0.6848 GB, free: 11.72 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003919/0.1467, allocations: 446.9 kB / 0.6852 GB, free: 11.28 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000305/0.147, allocations: 150 kB / 0.6853 GB, free: 11.14 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.1472, allocations: 115.5 kB / 0.6854 GB, free: 11.02 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002415/0.1474, allocations: 155.5 kB / 0.6856 GB, free: 10.87 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.305e-05/0.1475, allocations: 12 kB / 0.6856 GB, free: 10.86 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005732/0.148, allocations: 455.1 kB / 0.686 GB, free: 10.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.1482, allocations: 91.77 kB / 0.6861 GB, free: 10.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.1483, allocations: 107.5 kB / 0.6862 GB, free: 10.22 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005176/0.1488, allocations: 474.6 kB / 0.6867 GB, free: 9.754 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1488, allocations: 0 / 0.6867 GB, free: 9.754 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1488, allocations: 3.938 kB / 0.6867 GB, free: 9.75 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.1488, allocations: 0 / 0.6867 GB, free: 9.75 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.0008412/0.1497, allocations: 0.5537 MB / 0.6872 GB, free: 9.148 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.1497, allocations: 8.031 kB / 0.6872 GB, free: 9.141 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007341/0.1505, allocations: 116.5 kB / 0.6873 GB, free: 9.027 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.1507, allocations: 253.2 kB / 0.6876 GB, free: 8.742 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.1508, allocations: 16.81 kB / 0.6876 GB, free: 8.727 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.524e-05/0.1508, allocations: 24.03 kB / 0.6876 GB, free: 8.703 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000612/0.1514, allocations: 385.9 kB / 0.688 GB, free: 8.297 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1515, allocations: 0 / 0.688 GB, free: 8.297 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/0.1515, allocations: 11.98 kB / 0.688 GB, free: 8.285 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-05/0.1515, allocations: 23.92 kB / 0.688 GB, free: 8.262 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006485/0.1522, allocations: 359.7 kB / 0.6884 GB, free: 7.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/0.1541, allocations: 1.733 MB / 0.6901 GB, free: 6.031 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006472/0.1547, allocations: 337 kB / 0.6904 GB, free: 5.684 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.155, allocations: 189.5 kB / 0.6906 GB, free: 5.492 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/0.1552, allocations: 93.09 kB / 0.6907 GB, free: 5.383 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.1552, allocations: 38.5 kB / 0.6907 GB, free: 5.336 MB / 494.1 MB Notification: Performance of pre-optimization done (n=25): time 1.333e-06/0.1552, allocations: 0 / 0.6907 GB, free: 5.336 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.007481/0.1627, allocations: 1.909 MB / 0.6926 GB, free: 3.422 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.1628, allocations: 81.11 kB / 0.6926 GB, free: 3.324 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.163, allocations: 175.8 kB / 0.6928 GB, free: 3.145 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.163, allocations: 33.7 kB / 0.6928 GB, free: 3.105 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.287e-05/0.1631, allocations: 152.4 kB / 0.693 GB, free: 2.953 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001105/0.1632, allocations: 126.2 kB / 0.6931 GB, free: 2.828 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.1634, allocations: 73.69 kB / 0.6932 GB, free: 2.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.1635, allocations: 330.8 kB / 0.6935 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004908/0.164, allocations: 252.7 kB / 0.6937 GB, free: 2.168 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005269/0.1645, allocations: 341.4 kB / 0.6941 GB, free: 1.801 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.1656, allocations: 0.6001 MB / 0.6946 GB, free: 1.172 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1656, allocations: 7.938 kB / 0.6946 GB, free: 1.164 MB / 494.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001193/0.1668, allocations: 0.6387 MB / 0.6953 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1668, allocations: 4 kB / 0.6953 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.1668, allocations: 4 kB / 0.6953 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1668, allocations: 4 kB / 0.6953 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009092/0.1677, allocations: 151.7 kB / 0.6954 GB, free: 368 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.1678, allocations: 4 kB / 0.6954 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003967/0.1682, allocations: 48.11 kB / 0.6955 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/0.1682, allocations: 20 kB / 0.6955 GB, free: 296 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005538/0.1688, allocations: 360.6 kB / 0.6958 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004862/0.1693, allocations: 325.9 kB / 0.6962 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009507/0.1702, allocations: 0.5668 MB / 0.6967 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.1702, allocations: 0 / 0.6967 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001106/0.1713, allocations: 0.6141 MB / 0.6973 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/0.1714, allocations: 4 kB / 0.6973 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.1714, allocations: 4 kB / 0.6973 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.638e-06/0.1714, allocations: 4 kB / 0.6973 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008249/0.1722, allocations: 148.1 kB / 0.6975 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1722, allocations: 4 kB / 0.6975 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003934/0.1726, allocations: 51.94 kB / 0.6975 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.1727, allocations: 11.98 kB / 0.6975 GB, free: 14.14 MB / 0.4981 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.0001347/0.1728, allocations: 208.7 kB / 0.6977 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-05/0.1729, allocations: 23.72 kB / 0.6977 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.1742, allocations: 0.6723 MB / 0.6984 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.1742, allocations: 4 kB / 0.6984 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1742, allocations: 0 / 0.6984 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.1743, allocations: 7.984 kB / 0.6984 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002102/0.1764, allocations: 1.365 MB / 0.6997 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.1764, allocations: 0 / 0.6997 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005842/0.177, allocations: 127.8 kB / 0.6999 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.177, allocations: 4 kB / 0.6999 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.533e-05/0.177, allocations: 8.25 kB / 0.6999 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-06/0.177, allocations: 11.94 kB / 0.6999 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.177, allocations: 4 kB / 0.6999 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000973/0.178, allocations: 0.7113 MB / 0.7006 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.1782, allocations: 140.8 kB / 0.7007 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.039e-05/0.1782, allocations: 8 kB / 0.7007 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003291/0.1786, allocations: 43.88 kB / 0.7008 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.534e-05/0.1787, allocations: 31.91 kB / 0.7008 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.1787, allocations: 12 kB / 0.7008 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001157/0.1788, allocations: 144.9 kB / 0.701 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1788, allocations: 0 / 0.701 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006193/0.1795, allocations: 144 kB / 0.7011 GB, free: 10.32 MB / 0.4981 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.0001994/0.1797, allocations: 144.5 kB / 0.7012 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00153/0.1812, allocations: 0.8411 MB / 0.702 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1812, allocations: 0 / 0.702 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004724/0.1817, allocations: 256.2 kB / 0.7023 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005228/0.1822, allocations: 51.47 kB / 0.7023 GB, free: 9.027 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.1834, allocations: 0.8209 MB / 0.7031 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.1837, allocations: 0.776 MB / 0.7039 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005213/0.1843, allocations: 182.8 kB / 0.7041 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.1844, allocations: 27.44 kB / 0.7041 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1844, allocations: 0 / 0.7041 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of Templates: time 0.007747/0.1922, allocations: 4.557 MB / 0.7086 GB, free: 2.621 MB / 0.4981 GB 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)