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.001242/0.001242, allocations: 101.4 kB / 16.35 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.001372/0.001372, allocations: 197.4 kB / 17.29 MB, free: 5.93 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.545/1.545, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.898/1.898, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.001461/0.001461, allocations: 67.89 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2181, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004799/0.2229, allocations: 2.735 MB / 0.7875 GB, free: 460 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3627/0.5856, allocations: 2.037 MB / 0.7894 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.5858, allocations: 7.031 kB / 0.7894 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007491/0.5866, allocations: 229.9 kB / 0.7897 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004165/0.587, allocations: 191.5 kB / 0.7898 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000619/0.5877, allocations: 272.3 kB / 0.7901 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003076/0.588, allocations: 322 kB / 0.7904 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002935/0.5883, allocations: 156.4 kB / 0.7906 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.5884, allocations: 124.1 kB / 0.7907 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/0.5887, allocations: 149.7 kB / 0.7908 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.561e-05/0.5887, allocations: 18.38 kB / 0.7908 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004779/0.5892, allocations: 383.4 kB / 0.7912 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.441e-05/0.5893, allocations: 96.27 kB / 0.7913 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.988e-05/0.5894, allocations: 122.8 kB / 0.7914 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000463/0.5899, allocations: 461.2 kB / 0.7919 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.5899, allocations: 5.578 kB / 0.7919 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.634e-06/0.5899, allocations: 0 / 0.7919 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.5899, allocations: 0 / 0.7919 GB, free: 46.46 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.0007754/0.5907, allocations: 0.5518 MB / 0.7924 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.5908, allocations: 9.188 kB / 0.7924 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007197/0.5915, allocations: 108 kB / 0.7925 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.5918, allocations: 262.5 kB / 0.7928 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.5918, allocations: 11.41 kB / 0.7928 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.887e-05/0.5918, allocations: 24.75 kB / 0.7928 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005479/0.5924, allocations: 383.8 kB / 0.7932 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.5924, allocations: 7.609 kB / 0.7932 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.153e-05/0.5925, allocations: 10.06 kB / 0.7932 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-05/0.5925, allocations: 26.98 kB / 0.7932 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005385/0.593, allocations: 353.8 kB / 0.7935 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.5946, allocations: 1.722 MB / 0.7952 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005686/0.5952, allocations: 339.8 kB / 0.7956 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002539/0.5955, allocations: 189.1 kB / 0.7957 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.5956, allocations: 84.73 kB / 0.7958 GB, free: 44.33 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.5956, allocations: 43.34 kB / 0.7959 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 1.633e-06/0.5956, allocations: 3.938 kB / 0.7959 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35): time 0.006974/0.6026, allocations: 1.916 MB / 0.7977 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.6027, allocations: 86.48 kB / 0.7978 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.6029, allocations: 177.5 kB / 0.798 GB, free: 43.97 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/0.6029, allocations: 33.45 kB / 0.798 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.316e-05/0.603, allocations: 146.8 kB / 0.7982 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.268e-05/0.6031, allocations: 124.6 kB / 0.7983 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.6032, allocations: 73.25 kB / 0.7983 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.692e-05/0.6033, allocations: 330 kB / 0.7987 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004497/0.6038, allocations: 257.3 kB / 0.7989 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000485/0.6042, allocations: 335.1 kB / 0.7992 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009417/0.6052, allocations: 0.5965 MB / 0.7998 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6052, allocations: 3.938 kB / 0.7998 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001181/0.6064, allocations: 0.6449 MB / 0.8004 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.6064, allocations: 6.094 kB / 0.8004 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.6064, allocations: 3.312 kB / 0.8004 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/0.6065, allocations: 4.688 kB / 0.8004 GB, free: 42.91 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009846/0.6075, allocations: 147.9 kB / 0.8006 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/0.6075, allocations: 10.55 kB / 0.8006 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004597/0.608, allocations: 49.12 kB / 0.8006 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-05/0.608, allocations: 18.12 kB / 0.8007 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006354/0.6087, allocations: 363.2 kB / 0.801 GB, free: 42.71 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005578/0.6092, allocations: 323.2 kB / 0.8013 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001111/0.6104, allocations: 0.5709 MB / 0.8019 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.576e-06/0.6104, allocations: 4.875 kB / 0.8019 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001225/0.6116, allocations: 0.6138 MB / 0.8025 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.6116, allocations: 7.031 kB / 0.8025 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.6116, allocations: 1.781 kB / 0.8025 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.344e-06/0.6116, allocations: 9.172 kB / 0.8025 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000887/0.6125, allocations: 143.2 kB / 0.8026 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.6126, allocations: 8.312 kB / 0.8026 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004003/0.613, allocations: 46.94 kB / 0.8027 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.613, allocations: 17.05 kB / 0.8027 GB, free: 42 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.0001426/0.6132, allocations: 201.7 kB / 0.8029 GB, free: 41.81 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.402e-05/0.6133, allocations: 26.86 kB / 0.8029 GB, free: 41.79 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001458/0.6147, allocations: 0.6601 MB / 0.8036 GB, free: 41.51 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.6148, allocations: 5.969 kB / 0.8036 GB, free: 41.51 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.6148, allocations: 4 kB / 0.8036 GB, free: 41.51 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.6148, allocations: 3.719 kB / 0.8036 GB, free: 41.51 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/0.6172, allocations: 1.363 MB / 0.8049 GB, free: 40.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.6172, allocations: 2.125 kB / 0.8049 GB, free: 40.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006168/0.6178, allocations: 123.1 kB / 0.805 GB, free: 40.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.876e-06/0.6179, allocations: 10.31 kB / 0.805 GB, free: 40.7 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/0.6179, allocations: 8.812 kB / 0.805 GB, free: 40.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.368e-06/0.6179, allocations: 8.953 kB / 0.8051 GB, free: 40.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.6179, allocations: 2.812 kB / 0.8051 GB, free: 40.7 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.619, allocations: 0.7088 MB / 0.8058 GB, free: 40.26 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.6192, allocations: 142.2 kB / 0.8059 GB, free: 40.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.927e-05/0.6192, allocations: 12.95 kB / 0.8059 GB, free: 40.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003432/0.6196, allocations: 45.3 kB / 0.8059 GB, free: 40.12 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.6197, allocations: 28.22 kB / 0.806 GB, free: 40.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.6197, allocations: 9.312 kB / 0.806 GB, free: 40.12 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001538/0.6199, allocations: 145.2 kB / 0.8061 GB, free: 40.02 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6199, allocations: 0 / 0.8061 GB, free: 40.02 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007484/0.6206, allocations: 143.3 kB / 0.8063 GB, free: 40 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.0002183/0.6209, allocations: 140.3 kB / 0.8064 GB, free: 39.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001707/0.6226, allocations: 0.848 MB / 0.8072 GB, free: 39.64 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6226, allocations: 0 / 0.8072 GB, free: 39.64 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004727/0.6231, allocations: 255.5 kB / 0.8075 GB, free: 39.57 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005515/0.6236, allocations: 47.72 kB / 0.8075 GB, free: 39.55 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.6249, allocations: 0.7024 MB / 0.8082 GB, free: 39.16 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.6252, allocations: 0.7825 MB / 0.809 GB, free: 38.45 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0005107/0.6257, allocations: 169.4 kB / 0.8091 GB, free: 38.43 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.6259, allocations: 33.98 kB / 0.8091 GB, free: 38.42 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.6259, allocations: 1.031 kB / 0.8091 GB, free: 38.42 MB / 0.6544 GB Notification: Performance of Templates: time 0.01156/0.6374, allocations: 4.803 MB / 0.8138 GB, free: 38.2 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)