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.0009987/0.0009989, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.01034/0.01034, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.238/2.238, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.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.91/1.91, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0007636/0.0007636, allocations: 15.28 kB / 0.6743 GB, free: 25.78 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3465, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004674/0.3512, allocations: 2.435 MB / 0.7903 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004201/0.3555, allocations: 2.024 MB / 0.7922 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002505/0.3558, allocations: 4 kB / 0.7922 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002781/0.3561, allocations: 31.72 kB / 0.7923 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007593/0.3568, allocations: 183.4 kB / 0.7925 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009373/0.3578, allocations: 239.4 kB / 0.7927 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005948/0.3584, allocations: 450.8 kB / 0.7931 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008329/0.3592, allocations: 366.6 kB / 0.7935 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002223/0.3595, allocations: 99.56 kB / 0.7936 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003963/0.3599, allocations: 155.5 kB / 0.7937 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.203e-05/0.3599, allocations: 8 kB / 0.7937 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009322/0.3609, allocations: 443.2 kB / 0.7941 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.361, allocations: 91.77 kB / 0.7942 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.3612, allocations: 125.2 kB / 0.7943 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007507/0.3619, allocations: 474.5 kB / 0.7948 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.362, allocations: 4 kB / 0.7948 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.735e-06/0.362, allocations: 0 / 0.7948 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.362, allocations: 0 / 0.7948 GB, free: 4.406 MB / 0.6075 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.001298/0.3633, allocations: 0.5186 MB / 0.7953 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.365e-05/0.3634, allocations: 8.031 kB / 0.7953 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009049/0.3643, allocations: 104.5 kB / 0.7954 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004504/0.3647, allocations: 262.9 kB / 0.7957 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.3648, allocations: 12.81 kB / 0.7957 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.799e-05/0.3648, allocations: 20.12 kB / 0.7957 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000742/0.3656, allocations: 389.9 kB / 0.7961 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.3656, allocations: 0 / 0.7961 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.107e-05/0.3657, allocations: 8 kB / 0.7961 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-05/0.3657, allocations: 27.77 kB / 0.7961 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007122/0.3665, allocations: 375.6 kB / 0.7965 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002452/0.3689, allocations: 1.741 MB / 0.7982 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007276/0.3697, allocations: 348.9 kB / 0.7985 GB, free: 356 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003514/0.37, allocations: 189.6 kB / 0.7987 GB, free: 160 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002151/0.3703, allocations: 89.05 kB / 0.7988 GB, free: 52 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.985e-05/0.3703, allocations: 42.62 kB / 0.7988 GB, free: 16 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 2.184e-06/0.3704, allocations: 0 / 0.7988 GB, free: 16 MB / 0.6231 GB Notification: Performance of matching and sorting (n=35): time 0.007697/0.3781, allocations: 2.063 MB / 0.8008 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/0.3782, allocations: 89.11 kB / 0.8009 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.3784, allocations: 183.9 kB / 0.8011 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.472e-05/0.3784, allocations: 29.7 kB / 0.8011 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.3785, allocations: 148.4 kB / 0.8012 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.3787, allocations: 114.3 kB / 0.8014 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.947e-05/0.3788, allocations: 41.64 kB / 0.8014 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3789, allocations: 330.8 kB / 0.8017 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004751/0.3794, allocations: 263.8 kB / 0.802 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005525/0.38, allocations: 337.5 kB / 0.8023 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.3811, allocations: 0.6196 MB / 0.8029 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.3811, allocations: 3.938 kB / 0.8029 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001231/0.3823, allocations: 0.6695 MB / 0.8035 GB, free: 11 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001453/0.3825, allocations: 156.9 kB / 0.8037 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.238e-06/0.3825, allocations: 0 / 0.8037 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.3825, allocations: 4 kB / 0.8037 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008896/0.3834, allocations: 159.8 kB / 0.8039 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.3834, allocations: 4 kB / 0.8039 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004207/0.3839, allocations: 55.92 kB / 0.8039 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-05/0.3839, allocations: 12 kB / 0.8039 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.689e-06/0.3839, allocations: 7.938 kB / 0.8039 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001059/0.385, allocations: 0.5972 MB / 0.8045 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.385, allocations: 4 kB / 0.8045 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.332e-06/0.385, allocations: 4 kB / 0.8045 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007574/0.3858, allocations: 143.8 kB / 0.8047 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3858, allocations: 7.938 kB / 0.8047 GB, free: 9.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003618/0.3862, allocations: 60.08 kB / 0.8047 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-05/0.3862, allocations: 16 kB / 0.8047 GB, free: 9.746 MB / 0.6231 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.000271/0.3865, allocations: 243 kB / 0.805 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.123e-05/0.3866, allocations: 23.75 kB / 0.805 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/0.388, allocations: 0.6884 MB / 0.8057 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.388, allocations: 4 kB / 0.8057 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/0.388, allocations: 7.938 kB / 0.8057 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.3881, allocations: 0 / 0.8057 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00235/0.3904, allocations: 1.387 MB / 0.807 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.3904, allocations: 4 kB / 0.807 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000557/0.391, allocations: 124.1 kB / 0.8071 GB, free: 7.164 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.391, allocations: 8 kB / 0.8072 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.3911, allocations: 16 kB / 0.8072 GB, free: 7.141 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.097e-06/0.3911, allocations: 4 kB / 0.8072 GB, free: 7.137 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.3911, allocations: 7.875 kB / 0.8072 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.3922, allocations: 0.7346 MB / 0.8079 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.3924, allocations: 148.8 kB / 0.808 GB, free: 6.191 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.435e-05/0.3925, allocations: 12 kB / 0.8081 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00033/0.3928, allocations: 47.94 kB / 0.8081 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.3929, allocations: 31.91 kB / 0.8081 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.468e-05/0.393, allocations: 8 kB / 0.8081 GB, free: 6.094 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001799/0.3931, allocations: 152.2 kB / 0.8083 GB, free: 5.945 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3932, allocations: 0 / 0.8083 GB, free: 5.945 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007702/0.3939, allocations: 144 kB / 0.8084 GB, free: 5.805 MB / 0.6231 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.0002675/0.3942, allocations: 139.2 kB / 0.8086 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001724/0.3959, allocations: 0.8748 MB / 0.8094 GB, free: 4.781 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.396, allocations: 4.188 kB / 0.8094 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004581/0.3964, allocations: 256.5 kB / 0.8097 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005938/0.397, allocations: 52.41 kB / 0.8097 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.3985, allocations: 0.8228 MB / 0.8105 GB, free: 3.605 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004674/0.399, allocations: 0.7877 MB / 0.8113 GB, free: 2.785 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005575/0.3996, allocations: 162.8 kB / 0.8114 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.3997, allocations: 35.42 kB / 0.8115 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of SimCode: time 1.552e-06/0.3997, allocations: 0 / 0.8115 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of Templates: time 0.009509/0.4093, allocations: 4.477 MB / 0.8158 GB, free: 14.13 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: