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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001435, allocations: 100.9 kB / 16.27 MB, free: 6.418 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.001663/0.001663, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.339/1.339, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.805/1.805, allocations: 292.3 MB / 0.5495 GB, free: 17.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 75.89 kB / 0.6722 GB, free: 6.496 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2537, allocations: 114.6 MB / 0.784 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.00594/0.2597, allocations: 2.727 MB / 0.7867 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4761/0.7358, allocations: 2.037 MB / 0.7887 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.736, allocations: 4.281 kB / 0.7887 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008927/0.737, allocations: 230.2 kB / 0.7889 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004993/0.7375, allocations: 196.7 kB / 0.7891 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007739/0.7383, allocations: 277.2 kB / 0.7894 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000366/0.7387, allocations: 310.1 kB / 0.7897 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003315/0.739, allocations: 163.2 kB / 0.7898 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.7392, allocations: 132.4 kB / 0.79 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002674/0.7395, allocations: 150.8 kB / 0.7901 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.657e-05/0.7395, allocations: 19.86 kB / 0.7901 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005785/0.7401, allocations: 378.1 kB / 0.7905 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.7402, allocations: 95.84 kB / 0.7906 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.7404, allocations: 113.4 kB / 0.7907 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005623/0.7409, allocations: 462.3 kB / 0.7911 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.7409, allocations: 0 / 0.7911 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.284e-06/0.741, allocations: 1.078 kB / 0.7911 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.741, allocations: 0 / 0.7911 GB, free: 45.99 MB / 0.6544 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.0009631/0.7419, allocations: 0.5541 MB / 0.7917 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.742, allocations: 8.844 kB / 0.7917 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007455/0.7427, allocations: 111.9 kB / 0.7918 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.743, allocations: 248.7 kB / 0.792 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.7431, allocations: 18.23 kB / 0.792 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.973e-05/0.7431, allocations: 18.53 kB / 0.792 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006698/0.7438, allocations: 387.7 kB / 0.7924 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.7439, allocations: 7.344 kB / 0.7924 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.365e-05/0.7439, allocations: 4.438 kB / 0.7924 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.171e-05/0.744, allocations: 28.66 kB / 0.7925 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006003/0.7446, allocations: 359 kB / 0.7928 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/0.7463, allocations: 1.737 MB / 0.7945 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006211/0.747, allocations: 342.6 kB / 0.7948 GB, free: 43.96 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/0.7472, allocations: 183.1 kB / 0.795 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001408/0.7474, allocations: 90.22 kB / 0.7951 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.7474, allocations: 38.7 kB / 0.7951 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 1.793e-06/0.7474, allocations: 0 / 0.7951 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35): time 0.006962/0.7544, allocations: 1.916 MB / 0.797 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.7545, allocations: 82.12 kB / 0.7971 GB, free: 43.6 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.7547, allocations: 181 kB / 0.7972 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.7547, allocations: 29.39 kB / 0.7973 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.005e-05/0.7548, allocations: 149 kB / 0.7974 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.97e-05/0.7549, allocations: 124.7 kB / 0.7975 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.7551, allocations: 76.31 kB / 0.7976 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.938e-05/0.7552, allocations: 333 kB / 0.7979 GB, free: 42.94 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004826/0.7557, allocations: 251.2 kB / 0.7982 GB, free: 42.93 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006959/0.7564, allocations: 342 kB / 0.7985 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.7574, allocations: 0.5963 MB / 0.7991 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.7574, allocations: 1.438 kB / 0.7991 GB, free: 42.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001212/0.7587, allocations: 0.6482 MB / 0.7997 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.7587, allocations: 12.84 kB / 0.7997 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.7587, allocations: 0 / 0.7997 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.7587, allocations: 5.094 kB / 0.7997 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00093/0.7597, allocations: 145.9 kB / 0.7999 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.7597, allocations: 4.641 kB / 0.7999 GB, free: 42.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004301/0.7601, allocations: 53 kB / 0.7999 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.513e-05/0.7602, allocations: 18 kB / 0.7999 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006215/0.7608, allocations: 363.2 kB / 0.8003 GB, free: 42.44 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005436/0.7614, allocations: 314.6 kB / 0.8006 GB, free: 42.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001074/0.7625, allocations: 0.5769 MB / 0.8011 GB, free: 41.99 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.585e-06/0.7625, allocations: 0 / 0.8011 GB, free: 41.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001354/0.7638, allocations: 0.6114 MB / 0.8017 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.7639, allocations: 6.906 kB / 0.8017 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.7639, allocations: 2.688 kB / 0.8017 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.7639, allocations: 6.234 kB / 0.8017 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008903/0.7648, allocations: 145.2 kB / 0.8019 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.7648, allocations: 8.75 kB / 0.8019 GB, free: 41.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000414/0.7652, allocations: 50.66 kB / 0.8019 GB, free: 41.74 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.63e-05/0.7653, allocations: 18.94 kB / 0.802 GB, free: 41.74 MB / 0.6544 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.0001738/0.7655, allocations: 201.8 kB / 0.8022 GB, free: 41.54 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.7656, allocations: 23.66 kB / 0.8022 GB, free: 41.53 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001756/0.7673, allocations: 0.6692 MB / 0.8028 GB, free: 41.25 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.7674, allocations: 4.25 kB / 0.8028 GB, free: 41.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.7674, allocations: 0 / 0.8028 GB, free: 41.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.7674, allocations: 3.547 kB / 0.8028 GB, free: 41.25 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00288/0.7703, allocations: 1.362 MB / 0.8042 GB, free: 40.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.7703, allocations: 6.094 kB / 0.8042 GB, free: 40.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006554/0.771, allocations: 115.7 kB / 0.8043 GB, free: 40.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.46e-05/0.771, allocations: 4.312 kB / 0.8043 GB, free: 40.44 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.541e-05/0.771, allocations: 12.72 kB / 0.8043 GB, free: 40.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.18e-05/0.771, allocations: 10.81 kB / 0.8043 GB, free: 40.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/0.7711, allocations: 3.984 kB / 0.8043 GB, free: 40.43 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.7723, allocations: 0.7139 MB / 0.805 GB, free: 39.99 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001815/0.7725, allocations: 140.2 kB / 0.8051 GB, free: 39.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.755e-05/0.7726, allocations: 10.56 kB / 0.8052 GB, free: 39.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/0.773, allocations: 47.53 kB / 0.8052 GB, free: 39.86 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.7731, allocations: 29.95 kB / 0.8052 GB, free: 39.85 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.839e-05/0.7731, allocations: 10.05 kB / 0.8052 GB, free: 39.85 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001802/0.7733, allocations: 144.5 kB / 0.8054 GB, free: 39.75 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7733, allocations: 0.625 kB / 0.8054 GB, free: 39.75 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008615/0.7742, allocations: 142.9 kB / 0.8055 GB, free: 39.73 MB / 0.6544 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.0002959/0.7745, allocations: 133.9 kB / 0.8056 GB, free: 39.64 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002113/0.7766, allocations: 0.9019 MB / 0.8065 GB, free: 39.37 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.7767, allocations: 192 / 0.8065 GB, free: 39.37 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000584/0.7772, allocations: 257.2 kB / 0.8068 GB, free: 39.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005567/0.7778, allocations: 46.77 kB / 0.8068 GB, free: 39.28 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.7795, allocations: 0.738 MB / 0.8075 GB, free: 38.86 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003829/0.7799, allocations: 0.7836 MB / 0.8083 GB, free: 38.14 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001883/0.7801, allocations: 36.25 kB / 0.8083 GB, free: 38.13 MB / 0.6544 GB Notification: Performance of SimCode: time 8.72e-07/0.7801, allocations: 0 / 0.8083 GB, free: 38.13 MB / 0.6544 GB Notification: Performance of Templates: time 0.01074/0.7908, allocations: 4.764 MB / 0.813 GB, free: 37.85 MB / 0.6544 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)