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.001352/0.001352, allocations: 102.2 kB / 16.36 MB, free: 6.305 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.001089/0.001089, allocations: 188.7 kB / 17.29 MB, free: 5.875 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.426/1.426, allocations: 205.1 MB / 223.2 MB, free: 12.12 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.944/1.944, 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.001629/0.001629, allocations: 67.91 kB / 0.6729 GB, free: 5.805 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2411, allocations: 114.6 MB / 0.7848 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004252/0.2454, allocations: 2.739 MB / 0.7875 GB, free: 388 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3641/0.6095, allocations: 2.039 MB / 0.7895 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.6097, allocations: 6.438 kB / 0.7895 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006894/0.6104, allocations: 224 kB / 0.7897 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003509/0.6108, allocations: 196 kB / 0.7899 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005502/0.6114, allocations: 276.8 kB / 0.7901 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002801/0.6116, allocations: 317.7 kB / 0.7904 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000285/0.6119, allocations: 152.8 kB / 0.7906 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.6121, allocations: 129.3 kB / 0.7907 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.6123, allocations: 149.8 kB / 0.7908 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.6124, allocations: 18.38 kB / 0.7909 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004337/0.6128, allocations: 380.1 kB / 0.7912 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.673e-05/0.6129, allocations: 94.02 kB / 0.7913 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.484e-05/0.613, allocations: 122.1 kB / 0.7914 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004265/0.6134, allocations: 461.2 kB / 0.7919 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6135, allocations: 0 / 0.7919 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6135, allocations: 3.219 kB / 0.7919 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.6135, allocations: 0 / 0.7919 GB, free: 46.45 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.0007263/0.6142, allocations: 0.5529 MB / 0.7924 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.998e-05/0.6142, allocations: 10 kB / 0.7924 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007036/0.615, allocations: 114.2 kB / 0.7925 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.6152, allocations: 254 kB / 0.7928 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.6152, allocations: 18.16 kB / 0.7928 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.52e-05/0.6153, allocations: 21.52 kB / 0.7928 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005257/0.6158, allocations: 392.6 kB / 0.7932 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.6158, allocations: 3.906 kB / 0.7932 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.6159, allocations: 8.375 kB / 0.7932 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.598e-05/0.6159, allocations: 25.84 kB / 0.7932 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005291/0.6165, allocations: 357.2 kB / 0.7936 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/0.6179, allocations: 1.723 MB / 0.7952 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005589/0.6185, allocations: 341.6 kB / 0.7956 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/0.6188, allocations: 187.5 kB / 0.7958 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.6189, allocations: 87.2 kB / 0.7958 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.6189, allocations: 44.72 kB / 0.7959 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 1.773e-06/0.6189, allocations: 0 / 0.7959 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35): time 0.006826/0.6258, allocations: 1.91 MB / 0.7977 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.6258, allocations: 93.98 kB / 0.7978 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.626, allocations: 178.4 kB / 0.798 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.626, allocations: 32.52 kB / 0.798 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/0.6261, allocations: 143.8 kB / 0.7982 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.077e-05/0.6262, allocations: 125.7 kB / 0.7983 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.6263, allocations: 73.19 kB / 0.7984 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.462e-05/0.6264, allocations: 334.8 kB / 0.7987 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004203/0.6268, allocations: 251.3 kB / 0.7989 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000485/0.6273, allocations: 338.4 kB / 0.7992 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009324/0.6283, allocations: 0.5947 MB / 0.7998 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6283, allocations: 3.938 kB / 0.7998 GB, free: 43.15 MB / 0.6544 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001114/0.6294, allocations: 0.642 MB / 0.8005 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.6294, allocations: 9.125 kB / 0.8005 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.6294, allocations: 2.344 kB / 0.8005 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.6295, allocations: 4.594 kB / 0.8005 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008787/0.6303, allocations: 148.7 kB / 0.8006 GB, free: 42.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.6304, allocations: 8.156 kB / 0.8006 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004107/0.6308, allocations: 53.2 kB / 0.8007 GB, free: 42.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.146e-05/0.6308, allocations: 19.28 kB / 0.8007 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005467/0.6314, allocations: 360.3 kB / 0.801 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004725/0.6319, allocations: 327.6 kB / 0.8013 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009784/0.6329, allocations: 0.57 MB / 0.8019 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/0.6329, allocations: 4 kB / 0.8019 GB, free: 42.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001196/0.6341, allocations: 0.6095 MB / 0.8025 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.6341, allocations: 6.375 kB / 0.8025 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.6341, allocations: 7.781 kB / 0.8025 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.56e-06/0.6341, allocations: 3.094 kB / 0.8025 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008826/0.635, allocations: 141.9 kB / 0.8027 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.635, allocations: 4.969 kB / 0.8027 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004172/0.6355, allocations: 50.52 kB / 0.8027 GB, free: 42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.156e-05/0.6355, allocations: 17.98 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.0001379/0.6356, allocations: 204.3 kB / 0.8029 GB, free: 41.8 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.509e-05/0.6357, allocations: 23.09 kB / 0.8029 GB, free: 41.79 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001422/0.6372, allocations: 0.6642 MB / 0.8036 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.6372, allocations: 4.906 kB / 0.8036 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.6372, allocations: 4.75 kB / 0.8036 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.6372, allocations: 2.328 kB / 0.8036 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002203/0.6394, allocations: 1.359 MB / 0.8049 GB, free: 40.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.6394, allocations: 3.406 kB / 0.8049 GB, free: 40.7 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005896/0.64, allocations: 120.5 kB / 0.805 GB, free: 40.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.6401, allocations: 7.844 kB / 0.8051 GB, free: 40.69 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.6401, allocations: 11.88 kB / 0.8051 GB, free: 40.69 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.6401, allocations: 7.312 kB / 0.8051 GB, free: 40.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.6401, allocations: 3.25 kB / 0.8051 GB, free: 40.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.6411, allocations: 0.7097 MB / 0.8058 GB, free: 40.25 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.6413, allocations: 140 kB / 0.8059 GB, free: 40.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.877e-05/0.6413, allocations: 13.14 kB / 0.8059 GB, free: 40.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003349/0.6417, allocations: 40.69 kB / 0.8059 GB, free: 40.11 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.188e-05/0.6418, allocations: 28.33 kB / 0.806 GB, free: 40.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.039e-05/0.6418, allocations: 17.31 kB / 0.806 GB, free: 40.1 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001287/0.6419, allocations: 145.2 kB / 0.8061 GB, free: 40.01 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.642, allocations: 0 / 0.8061 GB, free: 40.01 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006803/0.6426, allocations: 142.9 kB / 0.8063 GB, free: 39.99 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.0001921/0.6428, allocations: 138.2 kB / 0.8064 GB, free: 39.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001664/0.6445, allocations: 0.8492 MB / 0.8072 GB, free: 39.62 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6445, allocations: 0.9375 kB / 0.8072 GB, free: 39.62 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004852/0.645, allocations: 254.3 kB / 0.8075 GB, free: 39.56 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005398/0.6456, allocations: 49.75 kB / 0.8075 GB, free: 39.54 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.647, allocations: 0.7403 MB / 0.8082 GB, free: 39.11 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.6474, allocations: 0.7785 MB / 0.809 GB, free: 38.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.6475, allocations: 37.45 kB / 0.809 GB, free: 38.39 MB / 0.6544 GB Notification: Performance of SimCode: time 3.71e-07/0.6475, allocations: 1.406 kB / 0.809 GB, free: 38.39 MB / 0.6544 GB Notification: Performance of Templates: time 0.00978/0.6573, allocations: 4.771 MB / 0.8137 GB, free: 38.11 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)